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:
- 1:057d8fc6cb2f
- Parent:
- 0:65cfa4873284
- Child:
- 3:8ea4db957749
diff -r 65cfa4873284 -r 057d8fc6cb2f src/main.cpp --- a/src/main.cpp Thu Sep 01 18:57:04 2016 +0000 +++ b/src/main.cpp Thu Sep 01 19:42:11 2016 +0000 @@ -79,12 +79,15 @@ Thread cdh_thread(CloudDataHandler); Thread ble_thread(BLEDataHandler); + Thread::wait(1000); + // display free memory on the heap __heapstats((__heapprt)fprintf,stdout); - // start the command shell Thread::wait(2000); printf("\r\n"); + + // start the command shell ntshell_execute(&ntshell, func_read, func_write, func_cb_ntshell); //ch_thread.join();