From 8dac353de48e628fcce4f0ce1512f5c4d0ac474e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=90=83=E6=B2=B9=E7=82=B8=E9=B8=A1?= <1425962791@qq.com> Date: Wed, 28 Jan 2026 19:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=AF=AD=E8=A8=80get=20set?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Power_Pico/User/GUI/ui_helpers.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Power_Pico/User/GUI/ui_helpers.c b/Power_Pico/User/GUI/ui_helpers.c index 774c6f3..8674fec 100644 --- a/Power_Pico/User/GUI/ui_helpers.c +++ b/Power_Pico/User/GUI/ui_helpers.c @@ -33,6 +33,10 @@ bool ui_get_key_sound_enable(void) { return Sys_Get_KeySoundEnable(); } +uint8_t ui_get_language_select(void) { + return Sys_Get_LanguageSelect(); +} + uint16_t ui_get_display_rotation(void) { return Sys_Get_Rotation(); } @@ -55,6 +59,10 @@ void ui_set_key_sound_enable(bool enable) { Sys_Set_KeySoundEnable(enable); } +void ui_set_language_select(uint8_t lang) { + Sys_Set_LanguageSelect(lang); +} + void ui_set_display_rotation(uint16_t rotation) { Sys_Set_Rotation(rotation); }