Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
87:c466bde76fa0
Parent:
82:f3e495a98877
Parent:
86:189c125d8878
Child:
88:8a1a2bba8850
--- a/src/ModbusMaster/ModbusMaster.cpp	Tue Sep 20 15:35:13 2016 +0000
+++ b/src/ModbusMaster/ModbusMaster.cpp	Tue Sep 20 16:02:58 2016 +0000
@@ -132,10 +132,12 @@
                     default:
                         break;
                 }
-
-                if( iter->second.input == false ) {
-                    logInfo("processing output=%s, reg=%d, value=%d",iter->first.c_str(), ModbusRegisterMap[iter->first].reg, (bool)ModbusRegisterMap[iter->first].float_value);
-                    if( ModbusRegisterMap[iter->first].reg == 1 ) {
+                
+                if( iter->second.input == false )
+                {
+                    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;
                     } else {
                         dout2 = (bool)ModbusRegisterMap[iter->first].float_value;