Ian Hua / Quadcopter-mbedRTOS
Revision:
22:ef8aa9728013
Parent:
21:b642c18eccd1
Child:
27:18b6580eb0b1
diff -r b642c18eccd1 -r ef8aa9728013 RTOS-Setup/src/tasks.cpp
--- a/RTOS-Setup/src/tasks.cpp	Thu May 08 09:39:12 2014 +0000
+++ b/RTOS-Setup/src/tasks.cpp	Thu May 08 10:33:43 2014 +0000
@@ -1,3 +1,9 @@
+/* File:    tasks.h
+ * Author:  Trung Tin Ian HUA
+ * Date:    May 2014
+ * Purpose: Code to intialise and start all threads.
+ */
+
 #include "tasks.h"
 #include "setup.h"
 
@@ -18,14 +24,3 @@
     /* Execute state machine forever */
     Thread::wait(osWaitForever);
 }
-
-/*
-int abs(float input)
-{
-    if (input < 0.0)
-        return -1* (int) input;
-    else
-        return input;
-}
-*/
-