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/ModbusMaster/ModbusMasterApi.cpp
- Revision:
- 148:ee3cbaafe355
- Parent:
- 134:f90154ff33ec
- Child:
- 190:af7ab603c9fe
--- a/src/ModbusMaster/ModbusMasterApi.cpp Wed Sep 28 12:34:34 2016 +0000
+++ b/src/ModbusMaster/ModbusMasterApi.cpp Wed Sep 28 17:57:36 2016 +0000
@@ -4,7 +4,7 @@
bool ModbusMasterReadRegister( const std::string &io_tag, ModbusValue *value )
{
value->value = ModbusRegisterMap[io_tag].float_value;
- value->valid = true;
+ value->valid = ModbusRegisterMap[io_tag].valid;
return true;
}
