Searched refs:statusIndex (Results 1 – 1 of 1) sorted by relevance
254 size_t statusIndex = 0; variable451 if (sensors[statusIndex].isInitialized && reading.isNear == 0) { in nanoappHandleEvent()454 chreGetSensorSamplingStatus(sensors[statusIndex].handle, &status); in nanoappHandleEvent()456 sensors[statusIndex].info.sensorName, success, status.enabled, in nanoappHandleEvent()459 statusIndex = (statusIndex + 1) % ARRAY_SIZE(sensors); in nanoappHandleEvent()