Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c524 struct SingleAxisDataEvent *baroSample; in handleCommDoneEvt() local
610 if (baroAllocateEvt(&baroSample, pressure_hPa, sensorGetTime())) { in handleCommDoneEvt()
611 osEnqueueEvtOrFree(sensorGetMyEventType(SENS_TYPE_BARO), baroSample, baroFreeEvt); in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c554 struct SingleAxisDataEvent *baroSample; in handleI2cEvent() local
674 if (baroAllocateEvt(&baroSample, pressure_Pa * 0.01f, sensorGetTime())) { in handleI2cEvent()
675 …Free(EVENT_TYPE_BIT_DISCARDABLE | sensorGetMyEventType(SENS_TYPE_BARO), baroSample, baroFreeEvt)) { in handleI2cEvent()