projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disable monitor mode when communicating via usb
[fw/altos]
/
cctools
/
lib
/
cc-usb.c
diff --git
a/cctools/lib/cc-usb.c
b/cctools/lib/cc-usb.c
index dc764c24e99f79fd326226cbb8f795063ab58340..7eedbb473c0d83053118ec18094dad4466aecba5 100644
(file)
--- 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\n
m 0\n
");
cc_usb_sync(cc);
sleep(1);
cc_usb_sync(cc);