diff --git a/apps/screens.c b/apps/screens.c index b84b3642e5..6654be4961 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -80,6 +80,8 @@ #define SCROLLBAR_WIDTH 6 #endif +/* only used in set_time screen */ +#if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) static int clamp_value_wrap(int value, int max, int min) { if (value > max) @@ -88,6 +90,7 @@ static int clamp_value_wrap(int value, int max, int min) return max; return value; } +#endif void usb_screen(void) {