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/OutputTask.cpp
- Revision:
- 183:44f7fea6b208
- Parent:
- 177:9ec90c8e3ce1
- Child:
- 185:5ac6ab1ed875
--- a/src/OutputTask/OutputTask.cpp Tue Oct 04 16:08:49 2016 +0000 +++ b/src/OutputTask/OutputTask.cpp Tue Oct 04 20:50:33 2016 +0000 @@ -26,13 +26,13 @@ // this is the main data structure used to distinguish which control has // priority of an output. the layout is as-follows: // -// outputMap["o_rly1"]-> Control<"ManCtrl_rly1", 100, ON > -// Control<"SetpointCtrl_rly1", 800, OFF> +// outputMap["o_rly1"]-> Control<"ManCtrl_rly1", 100, ON > <<- highest pri control manipulates relay +// Control<"SetpointCtrl_rly1", 800, OFF> <<- lowest pri (queued up) // outputMap["o_rly2"]-> Control<"SetpointCtrl_rly2", 800, ON > // outputMap["o_rly3"]-> Control<"TimerControl_rl3", 500, ON> // // The Control Vector (per relay) is always sorted by priority, whereas -// the highest priority control is at the beginning (v.begin()) of the +// the highest priority control is at the front (v.front()) of the // list. typedef std::map<string, vector<Control> > StringOutputVector_t;
