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/ConfigurationHandler/ConfigurationHandler.cpp
- Revision:
- 111:d31b3a347e6a
- Parent:
- 97:5cf6ab71dcd0
diff -r 1e1b7c733880 -r d31b3a347e6a src/ConfigurationHandler/ConfigurationHandler.cpp
--- a/src/ConfigurationHandler/ConfigurationHandler.cpp Thu Sep 22 15:16:55 2016 +0000
+++ b/src/ConfigurationHandler/ConfigurationHandler.cpp Thu Sep 22 16:12:12 2016 +0000
@@ -183,6 +183,8 @@
delete timerControl;
} else {
timerTable[msg->controlFile] = timerControl;
+ // start the timer control
+ timerControl->start();
}
break;
}
@@ -251,6 +253,7 @@
StringTimerMap::iterator pos;
pos = timerTable.find(msg->controlFile);
if ( pos != timerTable.end() ) {
+ pos->second->unregisterControl();
delete (pos->second);
timerTable.erase(pos);
}
