From df5a0e2a84c2ef58679a728bc9803ca1302ad37d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 15 Mar 2010 15:28:38 +0000 Subject: lamp: use HAVE_NEGATIVE_LCD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25205 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lamp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c index 8442a6e..8c2dff5 100644 --- a/apps/plugins/lamp.c +++ b/apps/plugins/lamp.c @@ -160,14 +160,11 @@ enum plugin_status plugin_start(const void* parameter) #endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ #ifdef HAVE_LCD_INVERT -#if defined(MROBE_100) || defined(SANSA_CLIP) || defined(SANSA_CLIPV2) \ - || defined(SANSA_CLIPPLUS) - /* mrobe-100 has inverted display so invert it for max brightness */ - /* sansa clip has no real backlight so we need to enable all pixels */ +#ifdef HAVE_NEGATIVE_LCD rb->lcd_set_invert_display(true); #else rb->lcd_set_invert_display(false); -#endif /* MROBE_100 */ +#endif /* HAVE_NEGATIVE_LCD */ #endif /* HAVE_LCD_INVERT */ backlight_force_on(); -- cgit v1.1