Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c538 static void getTempAndBaro(const uint8_t *tmp, float *pressure_Pa, float *temp_centigrade) in getTempAndBaro() argument
548 *pressure_Pa = pres * (1.0f / 256.0f) + mTask.offset; in getTempAndBaro()
659 float pressure_Pa, temp_centigrade; in handleI2cEvent() local
660 getTempAndBaro(xfer->txrxBuf, &pressure_Pa, &temp_centigrade); in handleI2cEvent()
664 sendCalibrationResult(SENSOR_APP_EVT_STATUS_SUCCESS, pressure_Pa * 0.01f); in handleI2cEvent()
674 if (baroAllocateEvt(&baroSample, pressure_Pa * 0.01f, sensorGetTime())) { in handleI2cEvent()