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:
- 77:43e0a3d9e536
- Parent:
- 76:e5690c40e6b1
- Child:
- 82:f3e495a98877
diff -r e5690c40e6b1 -r 43e0a3d9e536 src/main.cpp --- a/src/main.cpp Mon Sep 19 14:46:03 2016 +0000 +++ b/src/main.cpp Mon Sep 19 21:03:14 2016 +0000 @@ -1,7 +1,7 @@ /****************************************************************************** * * File: main.cpp - * Desciption: main ICE driver routine + * Desciption: Ground Zero * *****************************************************************************/ #include "mbed.h" @@ -36,7 +36,7 @@ // local function prototypes static void banner(void); -// for file system access outside of main() +// for object (singleton) access outside of main() mDot *GLOBAL_mdot; Thread *GLOBAL_analyticsLogger_thread = NULL; @@ -119,7 +119,7 @@ banner(); // start the output task - Thread outputTask_thread (OutputTask, NULL, osPriorityNormal, (1024*8), NULL); + Thread outputTask_thread(OutputTask, NULL, osPriorityNormal, (1024*8), NULL); osSignalWait(sig_output_continue, osWaitForever); // start the configuration handler @@ -127,7 +127,7 @@ osSignalWait(sig_config_continue, osWaitForever); // we're clear to start running the controls - Thread controlTask_thread (ControlTask, NULL, osPriorityNormal, (1024*2), NULL); + Thread controlTask_thread(ControlTask, NULL, osPriorityNormal, (1024*2), NULL); //printf("\r%s: continuing to initialize...\n", __func__); Thread analyticsLoggerThread(AnalyticsLogger);