summaryrefslogtreecommitdiff
path: root/digital/beacon/src/debug_avr.c
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-26 00:16:45 +0200
committerFlorent Duchon2012-05-04 00:06:28 +0200
commit4820a5e4f404e2871945433da4fa3b5c7c3f7029 (patch)
treee66c1e2d79d321131e02368d13301dbb91d68f73 /digital/beacon/src/debug_avr.c
parent2ff15f6fb1fe1697c07a18d53d4260598969b5c2 (diff)
digital/beacon: add misc.* files containing usefull functions like jack management
Diffstat (limited to 'digital/beacon/src/debug_avr.c')
-rw-r--r--digital/beacon/src/debug_avr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/digital/beacon/src/debug_avr.c b/digital/beacon/src/debug_avr.c
index a4d217ba..f324c68a 100644
--- a/digital/beacon/src/debug_avr.c
+++ b/digital/beacon/src/debug_avr.c
@@ -33,6 +33,7 @@
#include "laser.h"
#include "network.h"
#include "motor.h"
+#include "misc.h"
HAL_UsartDescriptor_t appUsartDescriptor; // USART descriptor (required by stack)
HAL_AppTimer_t debugTimer; // TIMER descripor used by the DEBUG task
@@ -140,6 +141,9 @@ void usartRXCallback(uint16_t bytesToRead)
case 't':
motor_start_stop_control();
break;
+ case 'j':
+ jack_on_off();
+ break;
/* Default */
default :
uprintf(" ?? Unknown command ??\r\n");