Searched refs:statusIndex (Results 1 – 1 of 1) sorted by relevance
206 size_t statusIndex = 0; variable390 if (sensors[statusIndex].isInitialized && reading.isNear == 0) { in nanoappHandleEvent()392 bool success = chreGetSensorSamplingStatus(sensors[statusIndex].handle, in nanoappHandleEvent()395 sensors[statusIndex].info.sensorName, success, status.enabled, in nanoappHandleEvent()398 statusIndex = (statusIndex + 1) % ARRAY_SIZE(sensors); in nanoappHandleEvent()