diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-02-08 19:01:10 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-02-08 19:01:10 +0100 |
commit | b0478726e4b197caa8c2e50b2b6681e1aa1decf7 (patch) | |
tree | 4ec7b55584178cf938660cd8f3ad4347df3f9022 | |
parent | a869d4a9aca90e9bae1bdc08a59324ea1d999cec (diff) | |
download | rockbox-b0478726e4b197caa8c2e50b2b6681e1aa1decf7.tar.gz rockbox-b0478726e4b197caa8c2e50b2b6681e1aa1decf7.zip |
Fix reds. No need for #ifdef to save buttons anymore.
Change-Id: I31833ecf0725bbfbdd2905390e2e9b63918cbe3a
-rw-r--r-- | apps/plugins/lamp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c index b825bb61ce..4d4205a093 100644 --- a/apps/plugins/lamp.c +++ b/apps/plugins/lamp.c | |||
@@ -36,7 +36,6 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx }; | |||
36 | - only targets which can set brightness | 36 | - only targets which can set brightness |
37 | LAMP_UP / LAMP_DOWN: change the brightness | 37 | LAMP_UP / LAMP_DOWN: change the brightness |
38 | */ | 38 | */ |
39 | #if defined(HAVE_LCD_COLOR) || defined(HAVE_BACKLIGHT_BRIGHTNESS) | ||
40 | 39 | ||
41 | /* we use PLA */ | 40 | /* we use PLA */ |
42 | #ifdef HAVE_SCROLLWHEEL | 41 | #ifdef HAVE_SCROLLWHEEL |
@@ -55,9 +54,6 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx }; | |||
55 | # define LAMP_DOWN_REPEAT PLA_DOWN_REPEAT | 54 | # define LAMP_DOWN_REPEAT PLA_DOWN_REPEAT |
56 | #endif/* HAVE_SCROLLWHEEL */ | 55 | #endif/* HAVE_SCROLLWHEEL */ |
57 | 56 | ||
58 | #else | ||
59 | # error Missing key definitions for this keypad | ||
60 | #endif /* HAVE_LCD_COLOR || HAVE_BACKLIGHT_BRIGHTNESS */ | ||
61 | 57 | ||
62 | #define LAMP_EXIT PLA_EXIT | 58 | #define LAMP_EXIT PLA_EXIT |
63 | #define LAMP_EXIT2 PLA_CANCEL | 59 | #define LAMP_EXIT2 PLA_CANCEL |