mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fixed warnings when logf is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15243 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
11251f4555
commit
47cdc89552
2 changed files with 11 additions and 5 deletions
|
@ -118,13 +118,13 @@ struct screen screens[NB_SCREENS] =
|
|||
.backlight_on=&backlight_on,
|
||||
.backlight_off=&backlight_off,
|
||||
.is_backlight_on=&is_backlight_on,
|
||||
.backlight_set_timeout=&backlight_set_timeout
|
||||
.backlight_set_timeout=&backlight_set_timeout,
|
||||
#ifdef HAS_BUTTONBAR
|
||||
,.has_buttonbar=false
|
||||
.has_buttonbar=false
|
||||
#endif
|
||||
}
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
,{
|
||||
},
|
||||
#if NB_SCREENS == 2
|
||||
{
|
||||
.screen_type=SCREEN_REMOTE,
|
||||
.width=LCD_REMOTE_WIDTH,
|
||||
.height=LCD_REMOTE_HEIGHT,
|
||||
|
|
|
@ -75,7 +75,10 @@ char * cpu_boost_log_getlog_first(void)
|
|||
#if NUM_CORES > 1
|
||||
spinlock_unlock(&boostctrl_spin);
|
||||
#endif
|
||||
|
||||
return first;
|
||||
}
|
||||
|
||||
char * cpu_boost_log_getlog_next(void)
|
||||
{
|
||||
int message;
|
||||
|
@ -97,7 +100,10 @@ char * cpu_boost_log_getlog_next(void)
|
|||
#if NUM_CORES > 1
|
||||
spinlock_unlock(&boostctrl_spin);
|
||||
#endif
|
||||
|
||||
return next;
|
||||
}
|
||||
|
||||
void cpu_boost_(bool on_off, char* location, int line)
|
||||
{
|
||||
#if NUM_CORES > 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue