fix(led): restore all-green fret lights when leaving universal mode

Nav-bar mode switches bypassed the legacy TAB path that called all-on green, so LOOP_LIGHT red LEDs stuck until reboot.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yuquanjun 2026-09-17 16:00:17 +08:00
parent 4f83ed52ec
commit bf1a539e44
2 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,8 @@ void UI_ReturnToModeSelect(void)
StartFlag = 0; StartFlag = 0;
InModeFlag = false; InModeFlag = false;
AutoBandTop1_Stop(); AutoBandTop1_Stop();
/* 长按回模式选择时,清掉万能 LOOP_LIGHT 残留红灯 */
app_tm1629_all_on(LED_COLOR_G);
CallUI_Idle(); CallUI_Idle();
UI_DrawModeSelectScreen(); UI_DrawModeSelectScreen();
} }

View File

@ -1011,6 +1011,9 @@ void Draw_Bottom_Bar(uint8_t sel, uint8_t first_back)
void UI_NavBar_Action(uint8_t value) void UI_NavBar_Action(uint8_t value)
{ {
/* 离开万能后 LOOP_LIGHT 停更,须显式恢复全绿(旧 GUI_TAB_INDEX 路径曾做) */
app_tm1629_all_on(LED_COLOR_G);
switch (value) switch (value)
{ {
case UI0902_NAV_UNIVERSAL: case UI0902_NAV_UNIVERSAL: