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:
- 7:c0c03193612d
- Parent:
- 3:8ea4db957749
- Child:
- 9:ef0ca2f8a8a6
--- a/src/main.cpp Tue Sep 06 19:35:50 2016 +0000 +++ b/src/main.cpp Tue Sep 06 20:08:13 2016 +0000 @@ -24,6 +24,9 @@ // local function prototypes static void banner(void); +// for file system access outside of main() + mDot *GLOBAL_mdot; + /***************************************************************************** * Function: banner() * Description: Display the application boot banner @@ -57,7 +60,7 @@ int main( void ) { mDot *dot; - dot = mDot::getInstance(); + GLOBAL_mdot = dot = mDot::getInstance(); // for signaling from the configuration handler mainThreadId = osThreadGetId();