Home
last modified time | relevance | path

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

/chre-3.4.0/apps/sensor_world/
Dsensor_world.cc254 size_t statusIndex = 0; variable
451 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()