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/AnalyticsLogger/AnalyticsLogger.cpp
- Revision:
- 77:43e0a3d9e536
- Parent:
- 68:dbe39d83eb98
- Child:
- 79:d6638c01eeec
--- a/src/AnalyticsLogger/AnalyticsLogger.cpp Mon Sep 19 14:46:03 2016 +0000 +++ b/src/AnalyticsLogger/AnalyticsLogger.cpp Mon Sep 19 21:03:14 2016 +0000 @@ -53,11 +53,11 @@ if( ((ts->tm_min%15) == 0) && (ts->tm_min != last_min) ) { last_min = ts->tm_min; strftime(time_string, sizeof(time_string), "%Y-%m-%d %H:%M:%S", ts); - printf("%s logging at: %s\r\n", __func__, time_string); + logInfo("%s logging at: %s\r\n", __func__, time_string); std::map<std::string, ModbusRegister>::iterator iter; for (iter = ModbusRegisterMap.begin(); iter != ModbusRegisterMap.end(); ++iter) { - printf("Logging tag=%s, value=%2.2f\r\n", iter->first.c_str(), iter->second.float_value ); + logInfo("Logging tag=%s, value=%2.2f\r\n", iter->first.c_str(), iter->second.float_value ); } } }