From a9a623a047885ae7334b3e4c6b935b1267eee5b0 Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sat, 15 Aug 2026 19:18:32 +0200 Subject: [PATCH] WIP: Show GNSS (speed, etc) --- src/screen.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/screen.rs b/src/screen.rs index e260bb6..db3fbb0 100644 --- a/src/screen.rs +++ b/src/screen.rs @@ -169,8 +169,10 @@ where }; esp_println::println!( - "TODO: GNSS {fix_str} {num_sat:2} sat {}", - self.gnss_hb_state + "TODO: GNSS {fix_str} {num_sat:2} sat {}; {:.2} m/s, {:.0} deg", + self.gnss_hb_state, + pvt.ground_speed_2d(), + pvt.heading_motion() ); // TODO: print on screen? @@ -424,7 +426,7 @@ fn maneuver_to_str(value: applogic::v2x::map::Maneuvers) -> alloc::string::Strin /// /// # Errors /// Human-readable fatal errors -#[allow(clippy::too_many_arguments, clippy::type_complexity)] +#[allow(unused, clippy::too_many_arguments, clippy::type_complexity)] pub fn make_small_display( scl: IoScl, sda: IoSda, @@ -507,7 +509,7 @@ where /// /// # Errors /// Human-readable fatal errors -#[allow(clippy::too_many_arguments, clippy::type_complexity)] +#[allow(unused, clippy::too_many_arguments, clippy::type_complexity)] pub fn make_large_display( scl: IoScl, sda: IoSda,