Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: threadapi_rtx_mbed.cpp
- Revision:
- 1:9190c0f4d23a
- Parent:
- 0:fa2de1b79154
- Child:
- 6:c55b013dfc2a
diff -r fa2de1b79154 -r 9190c0f4d23a threadapi_rtx_mbed.cpp --- a/threadapi_rtx_mbed.cpp Fri Apr 08 12:01:36 2016 -0700 +++ b/threadapi_rtx_mbed.cpp Sun Apr 24 16:41:14 2016 -0700 @@ -45,7 +45,7 @@ (func == NULL)) { result = THREADAPI_INVALID_ARG; - LogError("(result = %s)\r\n", ENUM_TO_STRING(THREADAPI_RESULT, result)); + LogError("(result = %s)", ENUM_TO_STRING(THREADAPI_RESULT, result)); } else { @@ -71,13 +71,13 @@ else { result = THREADAPI_NO_MEMORY; - LogError("(result = %s)\r\n", ENUM_TO_STRING(THREADAPI_RESULT, result)); + LogError("(result = %s)", ENUM_TO_STRING(THREADAPI_RESULT, result)); } } else { result = THREADAPI_NO_MEMORY; - LogError("(result = %s)\r\n", ENUM_TO_STRING(THREADAPI_RESULT, result)); + LogError("(result = %s)", ENUM_TO_STRING(THREADAPI_RESULT, result)); } } @@ -102,13 +102,13 @@ else { result = THREADAPI_ERROR; - LogError("(result = %s)\r\n", ENUM_TO_STRING(THREADAPI_RESULT, result)); + LogError("(result = %s)", ENUM_TO_STRING(THREADAPI_RESULT, result)); } } else { result = THREADAPI_INVALID_ARG; - LogError("(result = %s)\r\n", ENUM_TO_STRING(THREADAPI_RESULT, result)); + LogError("(result = %s)", ENUM_TO_STRING(THREADAPI_RESULT, result)); } return result; }