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: inc/global.h
- Revision:
- 56:225786c56315
- Parent:
- 53:14ee82a96d93
- Child:
- 58:a4422d19b2ea
--- a/inc/global.h Tue Sep 13 21:40:11 2016 +0000 +++ b/inc/global.h Wed Sep 14 12:56:00 2016 +0000 @@ -40,10 +40,15 @@ char controlFile[64]; } Message_t; +typedef enum { + OFF = 0, + ON = 1 +} State; + // output control request message typedef struct output_control_req_t { string relay; - enum State { ON, OFF }; + State state; unsigned int priority; } OutputControlReq_t;