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
src/ConfigurationHandler/Controls/SetpointControl.cpp
- Committer:
- jmarkel44
- Date:
- 2016-09-07
- Revision:
- 19:9bc8fabeddfa
- Parent:
- 14:cc916fa8dd11
- Child:
- 20:653923c2f37a
File content as of revision 19:9bc8fabeddfa:
/****************************************************************************** * * File: SetpointControl.cpp * Desciption: ICE Setpoint Control Class implementation * *****************************************************************************/ #include "SetpointControl.h" #include "mDot.h" extern mDot *GLOBAL_mdot; bool SetpointControl::Load(string _controlFile){ controlFile = _controlFile; // try to open the control file mDot::mdot_file file = GLOBAL_mdot->openUserFile(controlFile.c_str(), mDot::FM_RDONLY); if ( file.fd < 0 ) return false; return true; }