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/Controls/SetpointControl.cpp
- Revision:
- 17:dfa2c53b3f38
- Parent:
- 14:cc916fa8dd11
diff -r cc916fa8dd11 -r dfa2c53b3f38 src/ConfigurationHandler/Controls/SetpointControl.cpp --- a/src/ConfigurationHandler/Controls/SetpointControl.cpp Wed Sep 07 14:51:00 2016 +0000 +++ b/src/ConfigurationHandler/Controls/SetpointControl.cpp Wed Sep 07 18:43:59 2016 +0000 @@ -21,7 +21,8 @@ // attempt to open the control file (established by the data handlers) printf("\r%s: opening control file %s\n", __func__, controlFile.c_str()); mDot::mdot_file file = GLOBAL_mdot->openUserFile(controlFile.c_str(), mDot::FM_RDONLY); - + + // TODO: throw an exception if this fails printf("\r %s: file.fd = %d\n", __func__, file.fd); // use the jSON parser to extract the data