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:
- 70:7427f4959201
- Parent:
- 56:225786c56315
- Child:
- 71:34856d21f2bf
--- a/src/ConfigurationHandler/Controls/SetpointControl.cpp Fri Sep 16 15:30:47 2016 +0000 +++ b/src/ConfigurationHandler/Controls/SetpointControl.cpp Fri Sep 16 17:54:51 2016 +0000 @@ -154,7 +154,7 @@ bool SetpointControl::underLimit(void) { // stubbed for now - return false; + return true; } // Method: startFeed() @@ -169,16 +169,15 @@ logInfo("%s: %s attempting to start feed on relay %s\n", __func__, controlFile.c_str(), output.c_str()); - OutputControlReq_t *msg = OutputMasterMailBox.alloc(); + OutputControlMsg_t *msg = OutputMasterMailBox.alloc(); // construct the ON message - msg->relay = this->output; + msg->output = this->output; msg->state = ON; - msg->priority = this->priority; + msg->priority = this->priority; - // ship it + // ship it to the output task OutputMasterMailBox.put(msg); - } // Method: stopFeed @@ -193,10 +192,10 @@ logInfo("%s: %s attempting to start feed on relay %s\n", __func__, controlFile.c_str(), output.c_str()); - OutputControlReq_t *msg = OutputMasterMailBox.alloc(); + OutputControlMsg_t *msg = OutputMasterMailBox.alloc(); // construct the OFF message - msg->relay = this->output; + msg->output = this->output; msg->state = OFF; msg->priority = this->priority;