git.droids-corp.org
/
protos
/
xbee-avr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f97044f
)
add emergency "pop"
author
Fabrice Desclaux
<serpilliere@droids-corp.org>
Thu, 29 Mar 2012 20:20:32 +0000
(22:20 +0200)
committer
Fabrice Desclaux
<serpilliere@droids-corp.org>
Thu, 29 Mar 2012 20:20:32 +0000
(22:20 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
d12ed7a
..
b9fa0a8
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-626,6
+626,7
@@
int main(void)
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
#else
uart_init();
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
#else
uart_init();
+ uart_register_rx_event(CMDLINE_UART, emergency);
#endif
fdevopen(cmdline_dev_send, cmdline_dev_recv);
#endif
fdevopen(cmdline_dev_send, cmdline_dev_recv);