Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
2:da28f21b72a1
Parent:
0:65cfa4873284
Child:
3:8ea4db957749
--- a/src/CommandParser/cmd.cpp	Thu Sep 01 19:42:11 2016 +0000
+++ b/src/CommandParser/cmd.cpp	Thu Sep 01 20:32:42 2016 +0000
@@ -210,9 +210,11 @@
     UNUSED(argc), UNUSED(argv);
     static int counter = 0;
     const unsigned int delay = 1.0;
+    
+    cmd_heap(0, 0);
 
     // let's just run forever to see what happens
-    while ( true ) {
+    while ( ++ counter < 100 ) {
         wait(delay);
         create("TimerControl00.json", CONTROL_TIMER);
         wait(delay);