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:
- 172:51dfb4aabc57
- Parent:
- 171:fb29030d4eaf
- Child:
- 174:515a8b684803
diff -r fb29030d4eaf -r 51dfb4aabc57 src/main.cpp --- a/src/main.cpp Tue Oct 04 12:22:13 2016 +0000 +++ b/src/main.cpp Tue Oct 04 12:26:14 2016 +0000 @@ -40,7 +40,7 @@ Thread *GLOBAL_analyticsLogger_thread = NULL; Thread *GLOBAL_modbusMaster_thread = NULL; -Thread *GLOBAL_BLE_thread = NULL; +//Thread *GLOBAL_BLE_thread = NULL; Thread *GLOBAL_CDH_thread = NULL; Thread *GLOBAL_configHandler_thread = NULL; Thread *GLOBAL_controlTask_thread = NULL; @@ -163,15 +163,17 @@ // start the configuration handler Thread configHandler_thread(ConfigurationHandler, NULL, osPriorityNormal, (1024*4 + 512), NULL); osSignalWait(sig_config_continue, osWaitForever); - + printf("CONFIGURATION HANDLER DONE\r\n"); // we're clear to start running the controls Thread controlTask_thread(ControlTask, NULL, osPriorityNormal, (1024/2), NULL); printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); +#if 0 Thread BLE_thread(BLEDataHandler); printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); +#endif Thread CDH_thread(CloudDataHandler, NULL, osPriorityNormal, (1024*10), NULL); printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); Thread analyticsLoggerThread(AnalyticsLogger, NULL, osPriorityHigh, (1024*10), NULL); @@ -181,7 +183,7 @@ // assign globals GLOBAL_analyticsLogger_thread = &analyticsLoggerThread; GLOBAL_modbusMaster_thread = &modbusMaster_thread; - GLOBAL_BLE_thread = & BLE_thread; + //GLOBAL_BLE_thread = & BLE_thread; GLOBAL_CDH_thread = & CDH_thread; GLOBAL_configHandler_thread = &configHandler_thread; GLOBAL_controlTask_thread = &controlTask_thread;