1
0
Fork 0
forked from len0rd/rockbox

lamp: use HAVE_NEGATIVE_LCD

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25205 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-03-15 15:28:38 +00:00
parent 3908b89322
commit df5a0e2a84

View file

@ -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();