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: MBEDio.cpp
- Revision:
- 40:eae89a487d86
- Parent:
- 36:73e343ddca7f
- Child:
- 43:361a61395588
--- a/MBEDio.cpp Sat Mar 01 06:15:18 2014 +0000 +++ b/MBEDio.cpp Sat Mar 01 07:16:47 2014 +0000 @@ -22,6 +22,7 @@ MBEDio::MBEDio(ErrorHandler *error_handler,Resource *resource) { this->m_error_handler = error_handler; this->m_resource = resource; + if (resource != NULL) resource->setIO(this); } // destructor