Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
16:7f6599312962
Parent:
13:c80c283f9db2
Child:
18:9cf694a764c0
--- a/src/main.cpp	Wed Sep 07 18:26:56 2016 +0000
+++ b/src/main.cpp	Wed Sep 07 18:38:35 2016 +0000
@@ -13,6 +13,7 @@
 #include "AnalyticsLogger.h"
 #include "ModbusMaster.h"
 #include "BLEDataHandler.h"
+#include "LoRaInit.h"
 
 // main thread identifier (for signaling)
 osThreadId mainThreadId = NULL;
@@ -63,7 +64,9 @@
 int main( void )
 {
     mDot *dot;
-    GLOBAL_mdot = dot = mDot::getInstance();
+    
+    mDotRadioInit( &dot );
+    GLOBAL_mdot = dot;
 
     // for signaling from the configuration handler
     mainThreadId = osThreadGetId();
@@ -96,6 +99,6 @@
     ntshell_execute(&ntshell, func_read, func_write, func_cb_ntshell);
 
     while ( true ) {
-        // do stuff
+
     }
 }
\ No newline at end of file