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.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/OutputTask/Control.h
- Revision:
- 192:052a419837fa
- Parent:
- 185:5ac6ab1ed875
- Child:
- 212:289f63158d2b
diff -r 981e8cec795c -r 052a419837fa src/OutputTask/Control.h
--- a/src/OutputTask/Control.h Thu Oct 06 12:25:44 2016 +0000
+++ b/src/OutputTask/Control.h Thu Oct 06 15:36:26 2016 +0000
@@ -3,11 +3,7 @@
#include "global.h"
#include <string>
-
-typedef enum {
- CONTROL_OFF = 0,
- CONTROL_ON = 1
-} ControlState;
+#include "OutputTask.h"
/*****************************************************************************
@@ -57,7 +53,7 @@
return state;
}
- unsigned int getMappedState(void) const;
+ int getMappedState(void) const;
void setState(ControlState _state) {
state = _state;
