Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
Dbosch_bmp280.c194 bool newMode = on || mTask.tempOn; in sensorPowerBaro() local
202 if (oldMode != newMode) in sensorPowerBaro()
203 setMode(newMode, (void*)(on ? STATE_ENABLING_BARO : STATE_DISABLING_BARO)); in sensorPowerBaro()
262 bool newMode = on || mTask.baroOn; in sensorPowerTemp() local
270 if (oldMode != newMode) in sensorPowerTemp()
271 setMode(newMode, (void*)(on ? STATE_ENABLING_TEMP : STATE_DISABLING_TEMP)); in sensorPowerTemp()