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.
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Diff: api/TaskletResourceObserver.cpp
- Revision:
- 33:bb7d8c64880f
- Parent:
- 32:bc40b11c3915
- Child:
- 36:1c6c45584c13
--- a/api/TaskletResourceObserver.cpp Wed Apr 08 15:51:36 2015 +0000
+++ b/api/TaskletResourceObserver.cpp Wed Apr 08 19:45:06 2015 +0000
@@ -46,9 +46,9 @@
}
#endif
+ #ifdef CONNECTOR_USING_TASKLETS
// notifier
void TaskletResourceObserver::_observation_notifier(arm_event_s *event) {
- #ifdef CONNECTOR_USING_TASKLETS
if (event != NULL) {
TaskletResourceObserver *me = (TaskletResourceObserver *)m_instance;
if (event->event_id == me->getTimerID()) {
@@ -65,8 +65,8 @@
std::printf("TaskletResourceObserver::observation_notifier(): ignoring event_id=%d timer_id=%d\r\n",event->event_id,me->getTimerID());
}
}
+ }
#endif
- }
// begin observing...
void TaskletResourceObserver::beginObservation() {
