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/ConfigurationHandler/ConfigurationHandler.cpp
- Revision:
- 37:7e6986b77f01
- Parent:
- 28:c410a61238bb
- Child:
- 46:4cb96ab2d1c8
--- a/src/ConfigurationHandler/ConfigurationHandler.cpp Fri Sep 09 15:24:18 2016 +0000 +++ b/src/ConfigurationHandler/ConfigurationHandler.cpp Fri Sep 09 18:59:39 2016 +0000 @@ -43,9 +43,9 @@ if (evt.status == osEventMail) { Message_t *msg = (Message_t*) evt.value.p; - printf("\r%s: mes->action = %d\n", __func__, msg->action); - printf("\r%s: msg->control = %d\n", __func__, msg->control); - printf("\r%s: msg->controlFile = %s\n", __func__, msg->controlFile); + logInfo("\r%s: mes->action = %d\n", __func__, msg->action); + logInfo("\r%s: msg->control = %d\n", __func__, msg->control); + logInfo("\r%s: msg->controlFile = %s\n", __func__, msg->controlFile); switch ( msg->action ) { case ACTION_CREATE: { @@ -139,7 +139,7 @@ *****************************************************************************/ static int createControl(const Message_t *msg) { - printf("\r%s invoked\n", __func__); + logInfo("\r%s invoked\n", __func__); switch (msg->control) { case CONTROL_SETPOINT: { @@ -168,7 +168,7 @@ case CONTROL_MANUAL: case CONTROL_COMPOSITE: default: - printf("\r%s: control type %d not implemented yet...\n", + logInfo("\r%s: control type %d not implemented yet...\n", __func__, msg->control); break; } @@ -184,7 +184,7 @@ *****************************************************************************/ static int modifyControl(const Message_t *msg) { - printf("\r%s invoked\n", __func__); + logInfo("\r%s invoked\n", __func__); return 0; } @@ -198,7 +198,7 @@ *****************************************************************************/ static int destroyControl(const Message_t *msg) { - printf("\r%s invoked\n", __func__); + logInfo("\r%s invoked\n", __func__); switch ( msg->control ) { case CONTROL_SETPOINT: {