Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c158 const struct device *const baro_dev = DEVICE_DT_GET_ONE(st_lps22hb_press); in main() local
160 if (!device_is_ready(baro_dev)) { in main()
161 printk("%s: device not ready.\n", baro_dev->name); in main()
291 sensor_sample_fetch(baro_dev); in main()
292 sensor_channel_get(baro_dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
293 sensor_channel_get(baro_dev, SENSOR_CHAN_PRESS, &press); in main()