summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 9b3e6459d5..0e732d8a7f 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1207,7 +1207,7 @@ bool set_time_screen(const char* string, struct tm *tm)
}
#endif /* defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC) */
-#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD
+#if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)
bool shutdown_screen(void)
{
int button;