Searched refs:sensorIndex (Results 1 - 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/sensors/mraa/
H A DSensorsHAL.cpp186 int returnedEvents = 0, sensorIndex = -1; local
200 sensorIndex = ev[i].data.u32;
201 if ((sensorIndex < 0) || (sensorIndex > sensorsNum)) {
206 if (sensors[sensorIndex] == nullptr) {
215 if (sensors[sensorIndex]->readOneEvent(data + returnedEvents)) {

Completed in 329 milliseconds