Fix typo which causes sensors to fail miserably

Change-Id: Ieca18fc089e2bdf7d049f213836971b54d11cd76
This commit is contained in:
Mathias Agopian
2010-09-16 21:41:13 -07:00
parent 0f5843069b
commit 36f429d300

View File

@@ -110,7 +110,7 @@ status_t SensorEventQueue::waitForEvent() const
}
} while (result != fd);
return result;
return (result == fd) ? status_t(NO_ERROR) : result;
}
status_t SensorEventQueue::wake() const