summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-15 15:28:38 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-15 15:28:38 +0000
commitdf5a0e2a84c2ef58679a728bc9803ca1302ad37d (patch)
tree1bf2313cb11ab4dcaf00c40f0c9f21c74ac7b70f /apps
parent3908b893224ee7fb982ac92fc63af3c9522a4d93 (diff)
downloadrockbox-df5a0e2a84c2ef58679a728bc9803ca1302ad37d.tar.gz
rockbox-df5a0e2a84c2ef58679a728bc9803ca1302ad37d.tar.bz2
rockbox-df5a0e2a84c2ef58679a728bc9803ca1302ad37d.zip
lamp: use HAVE_NEGATIVE_LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25205 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/lamp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c
index 8442a6eeb8..8c2dff5254 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();