summaryrefslogtreecommitdiff
path: root/digital/beacon/src/debug_avr.c
diff options
context:
space:
mode:
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");