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/FailsafeControl.cpp
- Revision:
- 271:19948511cd3f
- Parent:
- 269:97243a7f56ba
- Child:
- 273:0373b2a15f8a
--- a/src/ConfigurationHandler/Controls/FailsafeControl.cpp Wed Oct 26 18:38:15 2016 +0000
+++ b/src/ConfigurationHandler/Controls/FailsafeControl.cpp Wed Oct 26 19:04:23 2016 +0000
@@ -355,10 +355,13 @@
{
ModbusValue value;
ModbusMasterReadRegister(input, &value);
+ // TODO: uncomment when real sensors are available
+ #if 0
if ( value.errflag ) {
logInfo("%s: %s is in error\n", __func__, input.c_str());
return true;
}
+ #endif
return false;
}
