Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterfaceV3 by
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(); }