diff options
author | Keith Packard <keithp@keithp.com> | 2009-06-14 16:36:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-06-14 16:36:29 -0700 |
commit | 8c40f19acd09fe93d492c9355da8a1198c34b1c3 (patch) | |
tree | eae328430ef90edee4f160e15f7af3c5de5212ea | |
parent | 7adea9c59c73acd52743446c74fb675e0a1d6d05 (diff) |
Disable monitor mode when communicating via usb
-rw-r--r-- | cctools/lib/cc-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cctools/lib/cc-usb.c b/cctools/lib/cc-usb.c index dc764c24..7eedbb47 100644 --- a/cctools/lib/cc-usb.c +++ b/cctools/lib/cc-usb.c @@ -343,7 +343,7 @@ cc_usb_open(char *tty) save_termios = termios; cfmakeraw(&termios); tcsetattr(cc->fd, TCSAFLUSH, &termios); - cc_usb_printf(cc, "E 0\n"); + cc_usb_printf(cc, "E 0\nm 0\n"); cc_usb_sync(cc); sleep(1); cc_usb_sync(cc); |