From: Bernhard Tittelbach Date: Sat, 5 Oct 2013 23:58:03 +0000 (+0000) Subject: default ttyACM0 X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=4869706a93dc29d91cc5b219d9f210d72822cdaf;p=svn42.git default ttyACM0 --- diff --git a/go/uc_sensor_node_zmq/main.go b/go/uc_sensor_node_zmq/main.go index 3e99253..434f553 100644 --- a/go/uc_sensor_node_zmq/main.go +++ b/go/uc_sensor_node_zmq/main.go @@ -17,7 +17,7 @@ var ( func init() { flag.StringVar(&pub_addr, "brokeraddr", "tcp://torwaechter.realraum.at:4244", "zmq address to send stuff to") - flag.StringVar(&tty_dev_, "ttydev", "", "path do tty uc device") + flag.StringVar(&tty_dev_, "ttydev", "/dev/ttyACM0", "path do tty uc device") flag.BoolVar(&use_syslog_, "syslog", false, "log to syslog local1 facility") //~ flag.Usage = flag.PrintDefaults flag.Parse()