Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/main.cpp
- 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