Fix reds. No need for #ifdef to save buttons anymore.

Change-Id: I31833ecf0725bbfbdd2905390e2e9b63918cbe3a
This commit is contained in:
Thomas Martitz 2012-02-08 19:01:10 +01:00
parent a869d4a9ac
commit b0478726e4

View file

@ -36,7 +36,6 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx };
- only targets which can set brightness - only targets which can set brightness
LAMP_UP / LAMP_DOWN: change the brightness LAMP_UP / LAMP_DOWN: change the brightness
*/ */
#if defined(HAVE_LCD_COLOR) || defined(HAVE_BACKLIGHT_BRIGHTNESS)
/* we use PLA */ /* we use PLA */
#ifdef HAVE_SCROLLWHEEL #ifdef HAVE_SCROLLWHEEL
@ -55,9 +54,6 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx };
# define LAMP_DOWN_REPEAT PLA_DOWN_REPEAT # define LAMP_DOWN_REPEAT PLA_DOWN_REPEAT
#endif/* HAVE_SCROLLWHEEL */ #endif/* HAVE_SCROLLWHEEL */
#else
# error Missing key definitions for this keypad
#endif /* HAVE_LCD_COLOR || HAVE_BACKLIGHT_BRIGHTNESS */
#define LAMP_EXIT PLA_EXIT #define LAMP_EXIT PLA_EXIT
#define LAMP_EXIT2 PLA_CANCEL #define LAMP_EXIT2 PLA_CANCEL