Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
131:a290a3934132
Parent:
115:1558e01d04c6
Child:
143:23a572f084dd
--- a/src/ConfigurationHandler/Controls/SetpointControl.cpp	Mon Sep 26 12:35:12 2016 +0000
+++ b/src/ConfigurationHandler/Controls/SetpointControl.cpp	Mon Sep 26 17:36:30 2016 +0000
@@ -85,6 +85,9 @@
 void SetpointControl::update(void)
 {
     switch (this->currentState) {
+        case STATE_INIT:
+            // do nothing
+            break;
         case STATE_STARTUP:
             if ( this->underLimit() ) {
                 // start the feed right away
@@ -237,7 +240,8 @@
 
 void SetpointControl::display(void)
 {
-    string mapper[] = { "STARTUP",
+    string mapper[] = { "INIT",
+                        "STARTUP",
                         "CONTROL_OFF",
                         "CONTROL_ON",
                         "CONTROL_DISABLE",