summaryrefslogtreecommitdiff
path: root/apps/plugins/lamp.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-15 11:47:45 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-15 11:47:45 +0000
commit63df74e4a881ca4f4a46f8d29798c3626ff91b9b (patch)
treedaae8b1d7a4819a1ac3cf760d5d2a6cd0d668705 /apps/plugins/lamp.c
parent1e422d0ea4acabfea54880edb293179f7dadeafd (diff)
lamp: invert backlight for Clipv2/Clip+ too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lamp.c')
-rw-r--r--apps/plugins/lamp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c
index 53815b3abd..8442a6eeb8 100644
--- a/apps/plugins/lamp.c
+++ b/apps/plugins/lamp.c
@@ -160,7 +160,8 @@ enum plugin_status plugin_start(const void* parameter)
#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
#ifdef HAVE_LCD_INVERT
-#if defined(MROBE_100) || defined(SANSA_CLIP)
+#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 */
rb->lcd_set_invert_display(true);