From: Keith Packard Date: Sun, 14 Jun 2009 23:36:29 +0000 (-0700) Subject: Disable monitor mode when communicating via usb X-Git-Tag: 0.5~52 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=8c40f19acd09fe93d492c9355da8a1198c34b1c3;hp=7adea9c59c73acd52743446c74fb675e0a1d6d05 Disable monitor mode when communicating via usb --- 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);