mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: source/ThreadedResourceObserver.cpp
- Revision:
- 68:d016acf33ab4
- Parent:
- 67:0c130dc6b489
- Child:
- 69:baa167cf771b
diff -r 0c130dc6b489 -r d016acf33ab4 source/ThreadedResourceObserver.cpp --- a/source/ThreadedResourceObserver.cpp Mon Aug 22 19:36:45 2016 +0000 +++ b/source/ThreadedResourceObserver.cpp Mon Aug 22 19:42:32 2016 +0000 @@ -54,7 +54,7 @@ while(true) { Thread::wait(me->getSleepTime()); if (me->isObserving() == true && me->getResource() != NULL && me->getResource()->isRegistered() == true) { - Resource *res = me->getResource(); + DynamicResource *res = me->getResource(); if (res != NULL) { res->observe(); }