forked from len0rd/rockbox
Make the variable for numbers of screens to update const on non-remote-lcd targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15806 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e54244480d
commit
e711de2974
1 changed files with 3 additions and 1 deletions
|
@ -177,8 +177,10 @@ static bool f3_rec_screen(void);
|
||||||
|
|
||||||
#define MAX_FILE_SIZE 0x7F800000 /* 2 GB - 4 MB */
|
#define MAX_FILE_SIZE 0x7F800000 /* 2 GB - 4 MB */
|
||||||
|
|
||||||
|
#ifndef HAVE_REMOTE_LCD
|
||||||
|
static const int screen_update = NB_SCREENS;
|
||||||
|
#else
|
||||||
static int screen_update = NB_SCREENS;
|
static int screen_update = NB_SCREENS;
|
||||||
#ifdef HAVE_REMOTE_LCD
|
|
||||||
static bool remote_display_on = true;
|
static bool remote_display_on = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue