From bd759a56cf2d38c4404a47eb196eedccdd096363 Mon Sep 17 00:00:00 2001 From: discountchubbs Date: Wed, 29 Oct 2025 20:05:16 -0700 Subject: [PATCH] ehh no, 50 ft increments is better --- sunnypilot/navd/event_builder.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sunnypilot/navd/event_builder.py b/sunnypilot/navd/event_builder.py index 7ed83b1caf..9ca1be76ce 100644 --- a/sunnypilot/navd/event_builder.py +++ b/sunnypilot/navd/event_builder.py @@ -29,10 +29,8 @@ class EventBuilder: else: dist = f'{m.distance / NAV_CV.METERS_TO_MILE:.1f} mi,' if m.distance < NAV_CV.POINT_ONE_MILE: - if m.distance * NAV_CV.METERS_TO_FEET < 250.0: - dist = f'{round((m.distance * NAV_CV.METERS_TO_FEET) / 50) * 50}ft,' - else: - dist = f'{round((m.distance * NAV_CV.METERS_TO_FEET) / 100) * 100}ft,' + dist = f'{round((m.distance * NAV_CV.METERS_TO_FEET) / 50) * 50}ft,' + if m.type == 'arrive' or m.type == 'depart': base_msg = banner