Home
last modified time | relevance | path

Searched refs:taskState (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c66 } taskState; member
192 mTask.taskState = STATE_AWAITING_ANY_MOTION; in tiltDetectionPower()
197 mTask.taskState = STATE_DISABLED; in tiltDetectionPower()
239 if (mTask.taskState == STATE_AWAITING_ANY_MOTION) { in tiltDetectionHandleEvent()
244 mTask.taskState = STATE_AWAITING_TILT; in tiltDetectionHandleEvent()
249 if (mTask.taskState == STATE_AWAITING_TILT) { in tiltDetectionHandleEvent()
254 mTask.taskState = STATE_AWAITING_ANY_MOTION; in tiltDetectionHandleEvent()
259 if (mTask.taskState == STATE_AWAITING_TILT) { in tiltDetectionHandleEvent()