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 888db4d60b
commit 2ffb24799e

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