Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
180:eb43d5cd0ed7
Parent:
179:35e88daf2d75
--- a/ErrorHandler.cpp	Tue Sep 09 20:41:24 2014 +0000
+++ b/ErrorHandler.cpp	Fri Sep 12 20:36:09 2014 +0000
@@ -328,7 +328,7 @@
 #ifdef EH_USE_MUTEXES
     if (this->m_led_mutex != NULL) this->m_led_mutex->unlock();
 #endif
-    wait_ms(BLINK_TIME);
+    Thread::wait(BLINK_TIME);
 #ifdef EH_USE_MUTEXES
     if (this->m_led_mutex != NULL) this->m_led_mutex->lock();
 #endif