Ian Hua / Quadcopter-mbedRTOS
Revision:
33:f88a6ee18103
Parent:
32:7a9be7761c46
Child:
34:228d87c45151
--- a/RTOS-Threads/src/Task3.cpp	Mon May 12 13:20:06 2014 +0000
+++ b/RTOS-Threads/src/Task3.cpp	Mon May 12 13:49:43 2014 +0000
@@ -86,6 +86,7 @@
             RCCommand[i] = constrainRCCommand(RCCommand[i]);
     }
 
+    /* Telemetry output: */
     if (box_demo) {
         BT.printf("\nV%2.2f\n", voltageSense*VOLTAGE_SCALE);
         BT.printf("\nA%3.2f\nT%2.2f\n", altimeter.Altitude_m(), altimeter.Temp_C());
@@ -97,6 +98,9 @@
 //Timer
 }
 
+// ========================
+// === Helper functions ===
+// ========================
 int constrainRCCommand(int input)
 {
     if (input < 1000)