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/ModbusMaster.cpp
- Revision:
- 86:189c125d8878
- Parent:
- 81:d45bfa16953a
- Child:
- 87:c466bde76fa0
diff -r 5af57808ad7c -r 189c125d8878 src/ModbusMaster/ModbusMaster.cpp
--- a/src/ModbusMaster/ModbusMaster.cpp Tue Sep 20 13:47:15 2016 +0000
+++ b/src/ModbusMaster/ModbusMaster.cpp Tue Sep 20 15:40:11 2016 +0000
@@ -109,7 +109,7 @@
if( iter->second.input == false )
{
- printf("processing output=%s, reg=%d, value=%d\r\n",iter->first.c_str(), ModbusRegisterMap[iter->first].reg, (bool)ModbusRegisterMap[iter->first].float_value);
+ logInfo("processing output=%s, reg=%d, value=%d\r\n",iter->first.c_str(), ModbusRegisterMap[iter->first].reg, (bool)ModbusRegisterMap[iter->first].float_value);
if( ModbusRegisterMap[iter->first].reg == 1 )
{
dout1 = (bool)ModbusRegisterMap[iter->first].float_value;
