diff --git a/src/ui/page_fans.c b/src/ui/page_fans.c index 22473bac..5aa265fc 100644 --- a/src/ui/page_fans.c +++ b/src/ui/page_fans.c @@ -24,7 +24,7 @@ typedef enum { static lv_coord_t col_dsc[] = {160, 160, 160, 160, 140, 160, LV_GRID_TEMPLATE_LAST}; static lv_coord_t row_dsc[] = {60, 60, 60, 60, 60, 60, 60, 60, 60, 60, LV_GRID_TEMPLATE_LAST}; -fans_mode_t fans_mode = FANS_MODE_TOP; +static fans_mode_t fans_mode = FANS_MODE_NO_FAN; static btn_group_t btn_group_fans; diff --git a/src/ui/page_headtracker.c b/src/ui/page_headtracker.c index 172e671a..67c8b11e 100644 --- a/src/ui/page_headtracker.c +++ b/src/ui/page_headtracker.c @@ -198,7 +198,9 @@ static void page_headtracker_enter() { } static void page_headtracker_exit() { - page_headtracker_exit_slider(); + if (angle_slider_selected) { + page_headtracker_exit_slider(); + } lv_timer_del(timer); }