From 8b159f447ac4f7d978c5f314b264d4bcf30243bf Mon Sep 17 00:00:00 2001 From: Totoo Date: Tue, 16 Apr 2024 08:20:12 +0200 Subject: [PATCH] Smaller freq changes with encoder on SubghzD and Weather Station (#2106) --- firmware/application/apps/ui_subghzd.cpp | 2 +- firmware/application/apps/ui_weatherstation.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/apps/ui_subghzd.cpp b/firmware/application/apps/ui_subghzd.cpp index a4580b63..aafc9864 100644 --- a/firmware/application/apps/ui_subghzd.cpp +++ b/firmware/application/apps/ui_subghzd.cpp @@ -81,7 +81,7 @@ SubGhzDView::SubGhzDView(NavigationView& nav) recent.clear(); recent_entries_view.set_dirty(); }; - field_frequency.set_step(100000); + field_frequency.set_step(10000); const Rect content_rect{0, header_height, screen_width, screen_height - header_height}; recent_entries_view.set_parent_rect(content_rect); diff --git a/firmware/application/apps/ui_weatherstation.cpp b/firmware/application/apps/ui_weatherstation.cpp index 06ae180f..2b3cc98e 100644 --- a/firmware/application/apps/ui_weatherstation.cpp +++ b/firmware/application/apps/ui_weatherstation.cpp @@ -105,7 +105,7 @@ WeatherView::WeatherView(NavigationView& nav) recent.clear(); recent_entries_view.set_dirty(); }; - field_frequency.set_step(100000); + field_frequency.set_step(10000); options_temperature.on_change = [this](size_t, int32_t i) { weather_units_fahr = (bool)i;