Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: ErrorHandler.cpp
- Revision:
- 112:1fb53d4729af
- Parent:
- 84:4a993dd7c38b
- Child:
- 114:bd38ad417d6a
diff -r dac439bf902b -r 1fb53d4729af ErrorHandler.cpp --- a/ErrorHandler.cpp Mon Mar 17 16:56:41 2014 +0000 +++ b/ErrorHandler.cpp Tue Mar 18 21:46:48 2014 +0000 @@ -264,6 +264,9 @@ void ErrorHandler::led3On() { this->changeLED(led3,true); } void ErrorHandler::led3Off() { this->changeLED(led3,false); } +void ErrorHandler::setEndpoint(void *endpoint) { this->m_endpoint = endpoint; } +void *ErrorHandler::getEndpoint() { return this->m_endpoint; } + // blink the Transport TX LED void ErrorHandler::blinkTransportTxLED() { this->blinkLED(led4); }