From 4820a5e4f404e2871945433da4fa3b5c7c3f7029 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Thu, 26 Apr 2012 00:16:45 +0200 Subject: digital/beacon: add misc.* files containing usefull functions like jack management --- digital/beacon/src/debug_avr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'digital/beacon/src/debug_avr.c') 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"); -- cgit v1.2.3