Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
212:289f63158d2b
Parent:
192:052a419837fa
--- a/src/OutputTask/Control.h	Mon Oct 10 14:16:23 2016 +0000
+++ b/src/OutputTask/Control.h	Mon Oct 10 16:06:10 2016 +0000
@@ -25,11 +25,11 @@
     Control(std::string id, Control_t controlType, std::string input, unsigned int priority, ControlState state) :
         id(id),  controlType(controlType), input(input), priority(priority), state(state) {}
     // dtor
-    ~Control() {}
+    ~Control() { printf("\r%s invoked\n", __func__); }
     
     // displays a control's pertinents
     void display() {
-        printf("[%-24s | %3s | %u]",
+        printf("[%-24s | %3s | %u] -> ",
                id.c_str(), (state == CONTROL_ON) ? "ON" : "OFF", priority);
     }