summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-12-04 22:43:33 +0000
committerNils Wallménius <nils@rockbox.org>2009-12-04 22:43:33 +0000
commitf443d026ec7dbf4609b740f697ffa9438a5d7f38 (patch)
tree417c95ebf2ad6c0498f102b5caf9748a2f2b3c4a /firmware/drivers/button.c
parent03246172b8855d661309a166db6909e065ea54cb (diff)
FS#10711 by Martin Ritter fixes handling of the 'First Keypress Enables Backlight Only' setting in simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23849 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 71cd4726cc..f7523d776c 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -519,6 +519,7 @@ void button_set_flip(bool flip)
}
}
#endif /* HAVE_LCD_FLIP */
+#endif /* SIMULATOR */
#ifdef HAVE_BACKLIGHT
void set_backlight_filter_keypress(bool value)
@@ -533,7 +534,6 @@ void set_remote_backlight_filter_keypress(bool value)
#endif
#endif
-#endif /* SIMULATOR */
/*
* Get button pressed from hardware
*/