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/CommandParser/cmd.cpp
- Revision:
- 2:da28f21b72a1
- Parent:
- 0:65cfa4873284
- Child:
- 3:8ea4db957749
--- a/src/CommandParser/cmd.cpp Thu Sep 01 19:42:11 2016 +0000 +++ b/src/CommandParser/cmd.cpp Thu Sep 01 20:32:42 2016 +0000 @@ -210,9 +210,11 @@ UNUSED(argc), UNUSED(argv); static int counter = 0; const unsigned int delay = 1.0; + + cmd_heap(0, 0); // let's just run forever to see what happens - while ( true ) { + while ( ++ counter < 100 ) { wait(delay); create("TimerControl00.json", CONTROL_TIMER); wait(delay);