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:
Andree Buschmann 2011-09-03 11:04:41 +00:00
parent 1b94cbc1ef
commit 29f04cc986

View file

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