Searched refs:tof_dev (Results 1 – 1 of 1) sorted by relevance
240 const struct device *const tof_dev = DEVICE_DT_GET_ONE(st_vl53l0x); in main() local242 if (!device_is_ready(tof_dev)) { in main()243 printk("%s: device not ready.\n", tof_dev->name); in main()282 sensor_sample_fetch(tof_dev); in main()283 sensor_channel_get(tof_dev, SENSOR_CHAN_PROX, &prox); in main()285 sensor_channel_get(tof_dev, SENSOR_CHAN_DISTANCE, &prox); in main()