Ian Hua / Quadcopter-mbedRTOS
Revision:
50:8a0accb23007
Parent:
38:ef65533cca32
Child:
51:04c6af4319e1
--- a/RTOS-Threads/inc/Task2_Slave.h	Mon May 19 13:33:34 2014 +0000
+++ b/RTOS-Threads/inc/Task2_Slave.h	Mon May 19 14:16:47 2014 +0000
@@ -20,9 +20,15 @@
 extern volatile int gyro[3];
 extern bool counterESC;
 
+extern Semaphore sem_Task2_Slave;
+
 /* Thread2-Slave: Gyro sample and Rate PID Control */
 void Task2_Slave(void const *argument);
+
+// ========================
+// === Helper functions ===
+// ========================
+void Task2_Slave_ISR(void const *argument);
 void gyroSample(void);
-float deadbandGyroYaw(float input);
 
 #endif