更新硬件设置

This commit is contained in:
不吃油炸鸡
2025-11-02 17:02:19 +08:00
parent fd3b6f088e
commit 848f1173a9
7 changed files with 140 additions and 32 deletions

View File

@@ -72,7 +72,7 @@ void ui_init(void)
PageManager_register(&pages[i]);
}
PageManager_load_init_screen();
lv_display_set_rotation(dispp, sys_settings.rotation / 90);
lv_display_set_rotation(dispp, Sys_Get_Rotation() / 90);
//timer
// lv_timer_t * ui_MainTimer = lv_timer_create(main_timer, 1000, NULL);