Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
211:bca3e42bd4de
Parent:
208:784c46652863
Child:
213:b30d94ecfa84
Child:
214:52ef35bc44ec
--- a/src/CommandParser/cmd.cpp	Mon Oct 10 14:16:23 2016 +0000
+++ b/src/CommandParser/cmd.cpp	Mon Oct 10 14:38:38 2016 +0000
@@ -1565,7 +1565,7 @@
              "\"units\":     \"mV\","
              "\"min\":       \"0\","
              "\"max\":       \"10\","
-             "\"node\":      \"22\","
+             "\"node\":      \"23\","
              "\"reg\":       \"14\","
              "\"rtype\":     \"4\","
              "\"type\":      \"1\","
@@ -1709,6 +1709,7 @@
 
     Thread::wait(2000);
 
+#ifdef MORE_CONTROLS
     // OUTPUT: Relay 03
     snprintf(buf, sizeof(buf),
              "{ "
@@ -1797,7 +1798,7 @@
 
     Thread::wait(2000);
 
-
+#endif
     // SETPOINT: Blowdown
     snprintf(buf, sizeof(buf),
              "{ "
@@ -1864,6 +1865,7 @@
     MailBox.put(sp_msg);
     Thread::wait(2000);
 
+#ifdef MORE_CONTROLS
     // SETPOINT: Acid Base
     snprintf(buf, sizeof(buf),
              "{ "
@@ -1929,6 +1931,7 @@
 
     MailBox.put(sp_msg);
     Thread::wait(2000);
+#endif
 }
 
 /*****************************************************************************