Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
18:9cf694a764c0
Parent:
16:7f6599312962
Child:
20:653923c2f37a
--- a/src/main.cpp	Wed Sep 07 18:38:35 2016 +0000
+++ b/src/main.cpp	Wed Sep 07 19:04:16 2016 +0000
@@ -65,8 +65,8 @@
 {
     mDot *dot;
     
-    mDotRadioInit( &dot );
-    GLOBAL_mdot = dot;
+    //mDotRadioInit( &dot );
+    GLOBAL_mdot = dot = mDot::getInstance();
 
     // for signaling from the configuration handler
     mainThreadId = osThreadGetId();
@@ -89,6 +89,7 @@
     Thread::wait(1000);
 
     // display free memory on the heap
+    printf("\r\n");
     __heapstats((__heapprt)fprintf,stdout);
 
     printf("\r\n");