summaryrefslogtreecommitdiff
path: root/digital
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-17 22:39:07 +0200
committerFlorent Duchon2012-04-17 22:39:07 +0200
commit542cc7f2f5282a55aa3625e9e35d7ae51bb84db3 (patch)
tree3dc469196198a214f8767d0aa1634e8fb7deaed0 /digital
parentb8a2122276a91deba4f9cc74e994815fb3a4bf17 (diff)
digital/beacon: add servo state to the debug task
Diffstat (limited to 'digital')
-rw-r--r--digital/beacon/src/debug.c2
1 files changed, 2 insertions, 0 deletions
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