From 542cc7f2f5282a55aa3625e9e35d7ae51bb84db3 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Tue, 17 Apr 2012 22:39:07 +0200 Subject: digital/beacon: add servo state to the debug task --- digital/beacon/src/debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'digital') diff --git a/digital/beacon/src/debug.c b/digital/beacon/src/debug.c index 221f606c..42fc0e29 100644 --- a/digital/beacon/src/debug.c +++ b/digital/beacon/src/debug.c @@ -182,6 +182,8 @@ void debug_task(void) uprintf("------------------------- debug TASK -------------------------\r\n"); uprintf("NWK : status = 0x%x\r\n",network_get_status()); #ifdef TYPE_END + uprintf("[1] Scanning State = %d -- Value = %d\r\n",servo_get_state(SERVO_1),servo_get_value(SERVO_1)); + uprintf("[2] Scanning State = %d -- Value = %d\r\n",servo_get_state(SERVO_2),servo_get_value(SERVO_2)); uprintf("CodeWheel = %d\r\n",sensors_codewheel_get_value()); uprintf("Calibration state = %d\r\n",calibration_get_state()); #endif -- cgit v1.2.3