diff --git a/apps/SOURCES b/apps/SOURCES index a23e676a8e..7bc263a153 100644 --- a/apps/SOURCES +++ b/apps/SOURCES @@ -2,7 +2,9 @@ logfdisp.c #endif action.c +#ifdef HAVE_RTC_ALARM alarm_menu.c +#endif abrepeat.c bookmark.c debug_menu.c diff --git a/apps/alarm_menu.c b/apps/alarm_menu.c index 6473bbab82..3a44fa472a 100644 --- a/apps/alarm_menu.c +++ b/apps/alarm_menu.c @@ -20,8 +20,6 @@ ****************************************************************************/ #include "config.h" -#ifdef HAVE_RTC_ALARM - #include #include "lcd.h" @@ -198,5 +196,3 @@ bool alarm_screen(void) } return false; } - -#endif /* HAVE_RTC_ALARM */