#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:
parent
7567e99d61
commit
2e2cbfe4ac
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,8 @@
|
||||||
#define SCROLLBAR_WIDTH 6
|
#define SCROLLBAR_WIDTH 6
|
||||||
#endif
|
#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)
|
static int clamp_value_wrap(int value, int max, int min)
|
||||||
{
|
{
|
||||||
if (value > max)
|
if (value > max)
|
||||||
|
@ -88,6 +90,7 @@ static int clamp_value_wrap(int value, int max, int min)
|
||||||
return max;
|
return max;
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void usb_screen(void)
|
void usb_screen(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue