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:
- 93:1553fb156915
- Parent:
- 90:7d9731dec0da
- Child:
- 97:5cf6ab71dcd0
--- a/src/ConfigurationHandler/ConfigurationHandler.cpp Tue Sep 20 19:19:34 2016 +0000
+++ b/src/ConfigurationHandler/ConfigurationHandler.cpp Tue Sep 20 19:31:38 2016 +0000
@@ -88,24 +88,8 @@
if ( !setpointTable.empty() ) {
printf("\rSETPOINT CONTROLS\n");
StringSetpointMap::iterator pos;
- for ( pos = setpointTable.begin();
- pos != setpointTable.end();
- ++pos ) {
- printf("\r controlFile : %s \n", pos->second->getControlFile().c_str());
- printf("\r id : %s \n", pos->second->getId().c_str());
- printf("\r priority : %d \n", pos->second->getPriority());
- printf("\r input : %s \n", pos->second->getInput().c_str());
- printf("\r output : %s \n", pos->second->getOutput().c_str());
- printf("\r setpoint : %0.2f\n", pos->second->getSetpoint());
- printf("\r prodfact : %0.2f\n", pos->second->getProductFactor());
- printf("\r actingDir : %d \n", pos->second->getActingDir());
- printf("\r halert : %0.2f\n", pos->second->getHighAlert());
- printf("\r lalert : %0.2f\n", pos->second->getLowAlert());
- printf("\r hfs : %0.2f\n", pos->second->getHighFailsafe());
- printf("\r lfs : %0.2f\n", pos->second->getLowFailsafe());
- printf("\r\n");
- printf("\r currentState: %u\n", pos->second->getCurrentState());
- printf("\r\n");
+ for ( pos = setpointTable.begin(); pos != setpointTable.end(); ++pos ) {
+ pos->second->display();
}
}
}
