Azure IoT common library

Dependents:   STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more

Revision:
21:b92006c5b9ff
Parent:
19:2e0811512ceb
--- a/tickcounter_mbed.cpp	Fri Feb 10 17:01:36 2017 -0800
+++ b/tickcounter_mbed.cpp	Fri Feb 24 14:01:41 2017 -0800
@@ -2,6 +2,7 @@
 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
 #include "mbed.h"
+#include "azure_c_shared_utility/optimize_size.h"
 #include "azure_c_shared_utility/tickcounter.h"
 
 class TICK_COUNTER_INSTANCE_TAG
@@ -33,7 +34,7 @@
     int result;
     if (tick_counter == NULL || current_ms == NULL)
     {
-        result = __LINE__;
+        result = __FAILURE__;
     }
     else
     {