Roll back r30416. A proper fix of this warning will end in an #ifdef-hell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30417 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1b94cbc1ef
commit
29f04cc986
1 changed files with 2 additions and 0 deletions
|
@ -494,7 +494,9 @@ int read_bmp_fd(int fd,
|
|||
unsigned int resize = IMG_NORESIZE;
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
bool remote = false;
|
||||
if (format & FORMAT_REMOTE) {
|
||||
remote = true;
|
||||
#if LCD_REMOTE_DEPTH == 1
|
||||
format = FORMAT_MONO;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue