]> git.droids-corp.org - protos/xbee-avr.git/commitdiff
add emergency "pop"
authorFabrice Desclaux <serpilliere@droids-corp.org>
Thu, 29 Mar 2012 20:20:32 +0000 (22:20 +0200)
committerFabrice Desclaux <serpilliere@droids-corp.org>
Thu, 29 Mar 2012 20:20:32 +0000 (22:20 +0200)
main.c

diff --git a/main.c b/main.c
index d12ed7af5288c90c49fc7253126790184501e1ff..b9fa0a8c345c1a1bcedc653dbdf765e8333cce1e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -626,6 +626,7 @@ int main(void)
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
 #else
        uart_init();
+       uart_register_rx_event(CMDLINE_UART, emergency);
 #endif
 
        fdevopen(cmdline_dev_send, cmdline_dev_recv);