diff --git a/apps/menus/exported_menus.h b/apps/menus/exported_menus.h index 568791b1f0..c439af1479 100644 --- a/apps/menus/exported_menus.h +++ b/apps/menus/exported_menus.h @@ -38,6 +38,7 @@ extern const struct menu_item_ex sound_settings, /* sound_menu.c */ settings_menu_item, /* settings_menu.c */ bookmark_settings_menu, + sleep_timer_call, /* main_menu.c */ playlist_settings, /* playlist_menu.c */ equalizer_menu, /* eq_menu.c */ #ifdef AUDIOHW_HAVE_EQ diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 92bb72f896..46be790274 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c @@ -80,10 +80,6 @@ static int timedate_set(void) MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME), timedate_set, NULL, NULL, Icon_NOICON); MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); - -/* in main_menu.c */ -extern const struct menu_item_ex sleep_timer_call; - #ifdef HAVE_RTC_ALARM MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU), (menu_function)alarm_screen, NULL, NULL, Icon_NOICON);