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/OutputTask/Control.h
- Revision:
- 212:289f63158d2b
- Parent:
- 192:052a419837fa
--- a/src/OutputTask/Control.h Mon Oct 10 14:16:23 2016 +0000
+++ b/src/OutputTask/Control.h Mon Oct 10 16:06:10 2016 +0000
@@ -25,11 +25,11 @@
Control(std::string id, Control_t controlType, std::string input, unsigned int priority, ControlState state) :
id(id), controlType(controlType), input(input), priority(priority), state(state) {}
// dtor
- ~Control() {}
+ ~Control() { printf("\r%s invoked\n", __func__); }
// displays a control's pertinents
void display() {
- printf("[%-24s | %3s | %u]",
+ printf("[%-24s | %3s | %u] -> ",
id.c_str(), (state == CONTROL_ON) ? "ON" : "OFF", priority);
}
