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:
parent
4f83ed52ec
commit
bf1a539e44
|
|
@ -51,6 +51,8 @@ void UI_ReturnToModeSelect(void)
|
|||
StartFlag = 0;
|
||||
InModeFlag = false;
|
||||
AutoBandTop1_Stop();
|
||||
/* 长按回模式选择时,清掉万能 LOOP_LIGHT 残留红灯 */
|
||||
app_tm1629_all_on(LED_COLOR_G);
|
||||
CallUI_Idle();
|
||||
UI_DrawModeSelectScreen();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1011,6 +1011,9 @@ void Draw_Bottom_Bar(uint8_t sel, uint8_t first_back)
|
|||
|
||||
void UI_NavBar_Action(uint8_t value)
|
||||
{
|
||||
/* 离开万能后 LOOP_LIGHT 停更,须显式恢复全绿(旧 GUI_TAB_INDEX 路径曾做) */
|
||||
app_tm1629_all_on(LED_COLOR_G);
|
||||
|
||||
switch (value)
|
||||
{
|
||||
case UI0902_NAV_UNIVERSAL:
|
||||
|
|
|
|||
Loading…
Reference in New Issue