Searched refs:statusIndex (Results 1 – 1 of 1) sorted by relevance
268 size_t statusIndex = 0; variable411 if (sensors[statusIndex].isInitialized && reading.isNear == 0) { in handleProximityEvent()414 chreGetSensorSamplingStatus(sensors[statusIndex].handle, &status); in handleProximityEvent()416 sensors[statusIndex].info.sensorName, success, status.enabled, in handleProximityEvent()419 statusIndex = (statusIndex + 1) % ARRAY_SIZE(sensors); in handleProximityEvent()