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/Task3.cpp
- Revision:
- 34:228d87c45151
- Parent:
- 33:f88a6ee18103
- Child:
- 36:d95e3d6f2fc4
--- a/RTOS-Threads/src/Task3.cpp Mon May 12 13:49:43 2014 +0000
+++ b/RTOS-Threads/src/Task3.cpp Mon May 12 13:55:34 2014 +0000
@@ -30,6 +30,12 @@
FLIGHT_MODE mode = ATTITUDE;
+
+
+
+// ======================================
+// === BT & RC COMMAND, AND TELEMETRY ===
+// ======================================
//Timer
void Task3(void const *argument)
{
@@ -98,9 +104,12 @@
//Timer
}
-// ========================
-// === Helper functions ===
-// ========================
+
+
+
+// ************************
+// *** Helper functions ***
+// ************************
int constrainRCCommand(int input)
{
if (input < 1000)