Fix typo which causes sensors to fail miserably
Change-Id: Ieca18fc089e2bdf7d049f213836971b54d11cd76
This commit is contained in:
parent
888db4d60b
commit
2ffb24799e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user