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: main.cpp
- Revision:
- 112:1fb53d4729af
- Parent:
- 111:dac439bf902b
- Child:
- 119:c620eb98af8b
diff -r dac439bf902b -r 1fb53d4729af main.cpp --- a/main.cpp Mon Mar 17 16:56:41 2014 +0000 +++ b/main.cpp Tue Mar 18 21:46:48 2014 +0000 @@ -93,5 +93,6 @@ #endif error_handler = new ErrorHandler(&pc,&lcd); endpoint = new MBEDEndpoint(error_handler,ðernet); + error_handler->setEndpoint((void *)endpoint); if (endpoint != NULL) endpoint->run(); }