Ian Hua / Quadcopter-mbedRTOS
Revision:
21:b642c18eccd1
Parent:
19:bd88749c8db4
Child:
22:ef8aa9728013
--- a/RTOS-Threads/inc/Task4.h	Sat May 03 02:55:24 2014 +0000
+++ b/RTOS-Threads/inc/Task4.h	Thu May 08 09:39:12 2014 +0000
@@ -10,11 +10,13 @@
 extern int ESCpower[4];
 
 extern bool armed;
+extern bool ESC_check;
+extern bool calibration_mode;
 
 /* Update ESC */
 /* 200Hz <= PWM frequency <= 400Hz */
 void Task4(void const *argument);
 
-int constrainESC(int input);
+int constrainESC(float input);
 
 #endif