Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
45:3b9e1923cb15
Parent:
42:c703a60993b1
Child:
49:0456ee2271be
--- a/src/ModbusMaster/ModbusMaster.cpp	Mon Sep 12 14:38:39 2016 +0000
+++ b/src/ModbusMaster/ModbusMaster.cpp	Mon Sep 12 22:19:27 2016 +0000
@@ -33,17 +33,17 @@
         std::vector<mDot::mdot_file> file_list = GLOBAL_mdot->listUserFiles();
         for (std::vector<mDot::mdot_file>::iterator i = file_list.begin(); i != file_list.end(); ++i) {
 
-            logInfo("\r(%d)FOUND INPUT FILE: %s\n", __LINE__, i->name);
+            logInfo("(%d)FOUND INPUT FILE: %s", __LINE__, i->name);
 
             if( strncmp( i->name, "input", (strlen("input")-1)) == 0 ) {
 
-                logInfo("\r(%d)FOUND INPUT FILE: %s\n", __LINE__, i->name);
+                logInfo("(%d)FOUND INPUT FILE: %s", __LINE__, i->name);
 
                 status = GLOBAL_mdot->readUserFile(i->name, (void *)ModbusMasterScratchBuf, 1024);
                 if( status != true ) {
-                    logInfo("\r(%d)read file failed, status=%d\n", __LINE__, status);
+                    logInfo("(%d)read file failed, status=%d", __LINE__, status);
                 } else {
-                    logInfo("\r(%d)Read File SUCCESS: %s\n", __LINE__, ModbusMasterScratchBuf );
+                    logInfo("(%d)Read File SUCCESS: %s", __LINE__, ModbusMasterScratchBuf );
                 }
 
                 parse( json_value, ModbusMasterScratchBuf );