#ifdef out unused function to fix warning for non rtc and non bitmap targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15757 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-11-22 19:56:57 +00:00
parent 7567e99d61
commit 2e2cbfe4ac

View file

@ -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)
{