Searched refs:distance_mm (Results 1 – 1 of 1) sorted by relevance
157 uint32_t distance_mm; in hcsr04_channel_get() local163 distance_mm = HC_SR04_MM_PER_MS * atomic_get(&data->echo_high_cycles) / in hcsr04_channel_get()165 return sensor_value_from_milli(val, distance_mm); in hcsr04_channel_get()