New design Dual Watch

This commit is contained in:
Armel FAUVEAU
2024-02-17 19:05:06 +01:00
parent 682b99968a
commit 308affa672
7 changed files with 26 additions and 20 deletions

View File

@@ -393,6 +393,7 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax)
*pMax = ARRAY_SIZE(gSubMenu_SET_LCK) - 1;
break;
case MENU_SET_MET:
case MENU_SET_GUI:
*pMin = 0;
*pMax = ARRAY_SIZE(gSubMenu_SET_MET) - 1;
break;
@@ -866,6 +867,9 @@ void MENU_AcceptSetting(void)
case MENU_SET_MET:
gSetting_set_met = gSubMenuSelection;
break;
case MENU_SET_GUI:
gSetting_set_gui = gSubMenuSelection;
break;
#endif
}
@@ -1258,6 +1262,9 @@ void MENU_ShowCurrentSetting(void)
case MENU_SET_MET:
gSubMenuSelection = gSetting_set_met;
break;
case MENU_SET_GUI:
gSubMenuSelection = gSetting_set_gui;
break;
#endif
default: