Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c110 uint32_t gyroHandle; member
608 if (mTask.gyroHandle == 0) { in fusionSetRateGyr()
613 for (i = 0; sensorFind(SENS_TYPE_GYRO, i, &mTask.gyroHandle) != NULL; i++) { in fusionSetRateGyr()
614 if (sensorRequest(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR], in fusionSetRateGyr()
621 sensorRequestRateChange(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR], in fusionSetRateGyr()
731 if (mTask.gyro_client_cnt == 0 && mTask.gyroHandle != 0) { in fusionPower()
732 sensorRelease(mTask.tid, mTask.gyroHandle); in fusionPower()
733 mTask.gyroHandle = 0; in fusionPower()
789 if (!sensorFind(SENS_TYPE_GYRO, 0, &mTask.gyroHandle)) { in fusionHandleEvent()
793 mTask.gyroHandle = 0; in fusionHandleEvent()