Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

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;