Disable tfmini lidar once past 6 meters

Hi all

There is some way to disable tfmini lidar once past 6 meters and it works to the barometer.

regards