summaryrefslogtreecommitdiff
path: root/digital/beacon/src/debug_avr.c
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-16 17:00:33 +0200
committerFlorent Duchon2012-05-16 17:43:08 +0200
commit57e774eee922780d6a584be72a8984d2a3711987 (patch)
treeb53046df090ea83b5e24ff6ccadd8e89a903ccb7 /digital/beacon/src/debug_avr.c
parent0e853d3c6fe3a1701ca977dfa0f155e87b93a66c (diff)
digital/beacon: broadcast reset API
Diffstat (limited to 'digital/beacon/src/debug_avr.c')
-rw-r--r--digital/beacon/src/debug_avr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/digital/beacon/src/debug_avr.c b/digital/beacon/src/debug_avr.c
index a3eec0f3..c99286aa 100644
--- a/digital/beacon/src/debug_avr.c
+++ b/digital/beacon/src/debug_avr.c
@@ -137,6 +137,9 @@ void usartRXCallback(uint16_t bytesToRead)
case 'j':
jack_on_off();
break;
+ case '0':
+ network_send_data(NETWORK_RESET,0x1);
+ break;
/* Default */
default :
uprintf(" ?? Unknown command ??\r\n");