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:
- 188:d35a74bf4e92
- Parent:
- 186:16912aa18c2a
- Child:
- 189:546b04f89b19
--- a/src/ModbusMaster/ModbusMaster.cpp Wed Oct 05 20:48:59 2016 +0000
+++ b/src/ModbusMaster/ModbusMaster.cpp Wed Oct 05 21:32:02 2016 +0000
@@ -383,7 +383,7 @@
default:
return false;
}
-// printf("0x%x 0x%x 0x%x 0x%x\r\n", value.b.hi_hi, value.b.hi_lo, value.b.lo_hi, value.b.lo_lo);
+// printf("0x%x 0x%x 0x%x 0x%x (%2.2f)\r\n", value.b.hi_hi, value.b.hi_lo, value.b.lo_hi, value.b.lo_lo, value.f);
*float_value = value.f;
return true;
}
@@ -412,7 +412,7 @@
default:
return false;
}
-// printf("0x%x 0x%x 0x%x 0x%x\r\n", value.b.hi_hi, value.b.hi_lo, value.b.lo_hi, value.b.lo_lo);
+// printf("0x%x 0x%x 0x%x 0x%x (%d)\r\n", value.b.hi_hi, value.b.hi_lo, value.b.lo_hi, value.b.lo_lo, value.i);
*int32_value = value.i;
return true;
}
\ No newline at end of file
