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/inc/Task3.h
- Revision:
- 25:a7cfe421cb4a
- Parent:
- 22:ef8aa9728013
- Child:
- 27:18b6580eb0b1
--- a/RTOS-Threads/inc/Task3.h Thu May 08 13:00:50 2014 +0000 +++ b/RTOS-Threads/inc/Task3.h Thu May 08 13:35:13 2014 +0000 @@ -21,6 +21,12 @@ */ #define VOLTAGE_SCALE 49.60248447 +//typedef enum { +enum FLIGHT_MODE { + RATE, + STABLE +}; + extern float ypr_offset[3]; extern bool box_demo; @@ -32,6 +38,8 @@ extern int RCCommand[5]; extern int inputYPR[3]; +extern FLIGHT_MODE mode; + /* Thread3: RC & BT Command, and Telemetry */ void Task3(void const *argument);