Searched refs:hum_dev (Results 1 – 2 of 2) sorted by relevance
167 const struct device *const hum_dev = DEVICE_DT_GET_ONE(st_hts221); in main() local169 if (!device_is_ready(hum_dev)) { in main()170 printk("%s: device not ready.\n", hum_dev->name); in main()300 sensor_sample_fetch(hum_dev); in main()301 sensor_channel_get(hum_dev, SENSOR_CHAN_HUMIDITY, &humidity); in main()
32 struct device *hum_dev = DEVICE_DT_GET_ONE(st_hts221);34 if (!device_is_ready(hum_dev)) {35 printk("%s: device not ready.\n", hum_dev->name);