Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RTOS-Threads/src/Task1.cpp
- Revision:
- 33:f88a6ee18103
- Parent:
- 31:3dde2201e54d
- Child:
- 34:228d87c45151
--- a/RTOS-Threads/src/Task1.cpp	Mon May 12 13:20:06 2014 +0000
+++ b/RTOS-Threads/src/Task1.cpp	Mon May 12 13:49:43 2014 +0000
@@ -18,10 +18,8 @@
 Quaternion q;               // [w, x, y, z] quaternion container
 VectorFloat gravity;        // [x, y, z] gravity vector
 float ypr[3];               // [yaw, pitch, roll] yaw/pitch/roll container and gravity vector
-float ypr_1[3];
 
 float altitude, temperature;
-bool counterTask1 = false;
 
 #ifndef M_PI
 #define M_PI 3.1415
@@ -47,10 +45,10 @@
     }
 }
 //Timer
-// ================================================================
+
+// ========================
 // === Helper functions ===
-// ================================================================
-
+// ========================
 void AHRSSample(void)
 {
 //Timer