projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7adea9c
)
Disable monitor mode when communicating via usb
author
Keith Packard
<keithp@keithp.com>
Sun, 14 Jun 2009 23:36:29 +0000
(16:36 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 14 Jun 2009 23:36:29 +0000
(16:36 -0700)
cctools/lib/cc-usb.c
patch
|
blob
|
history
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);