fix(bw): Cannot change the 'enabled' state for global functions (#4446)
This commit is contained in:
@@ -30,7 +30,7 @@ void menuRadioSpecialFunctions(event_t event)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MENU(STR_MENUSPECIALFUNCS, menuTabGeneral, MENU_RADIO_SPECIAL_FUNCTIONS, HEADER_LINE+MAX_SPECIAL_FUNCTIONS, { HEADER_LINE_COLUMNS NAVIGATION_LINE_BY_LINE|4/*repeated*/ });
|
MENU(STR_MENUSPECIALFUNCS, menuTabGeneral, MENU_RADIO_SPECIAL_FUNCTIONS, HEADER_LINE+MAX_SPECIAL_FUNCTIONS, { HEADER_LINE_COLUMNS NAVIGATION_LINE_BY_LINE|5/*repeated*/ });
|
||||||
|
|
||||||
menuSpecialFunctions(event, g_eeGeneral.customFn, &globalFunctionsContext);
|
menuSpecialFunctions(event, g_eeGeneral.customFn, &globalFunctionsContext);
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,6 @@ const MenuHandler menuTabGeneral[MENU_RADIO_PAGES_COUNT] = {
|
|||||||
|
|
||||||
void menuRadioSpecialFunctions(event_t event)
|
void menuRadioSpecialFunctions(event_t event)
|
||||||
{
|
{
|
||||||
MENU(STR_MENUSPECIALFUNCS, menuTabGeneral, MENU_RADIO_SPECIAL_FUNCTIONS, MAX_SPECIAL_FUNCTIONS, { NAVIGATION_LINE_BY_LINE|4/*repeated*/ });
|
MENU(STR_MENUSPECIALFUNCS, menuTabGeneral, MENU_RADIO_SPECIAL_FUNCTIONS, MAX_SPECIAL_FUNCTIONS, { NAVIGATION_LINE_BY_LINE|5/*repeated*/ });
|
||||||
return menuSpecialFunctions(event, g_eeGeneral.customFn, &globalFunctionsContext);
|
return menuSpecialFunctions(event, g_eeGeneral.customFn, &globalFunctionsContext);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user