Searched refs:newMode (Results 1 – 1 of 1) sorted by relevance
194 bool newMode = on || mTask.tempOn; in sensorPowerBaro() local202 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() local270 if (oldMode != newMode) in sensorPowerTemp()271 setMode(newMode, (void*)(on ? STATE_ENABLING_TEMP : STATE_DISABLING_TEMP)); in sensorPowerTemp()