1
0
Fork 0
forked from len0rd/rockbox

Flashlight plugin: support inverted LCD (somebody with a target please test), replace the ugly floats with a much simpler color set. For now white and red are defined.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17230 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2008-04-24 00:06:45 +00:00
parent bcb442d0a2
commit 8efd5d3fdf
3 changed files with 49 additions and 72 deletions

View file

@ -581,7 +581,9 @@ static const struct plugin_api rockbox_api = {
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
backlight_set_brightness,
#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
#ifdef HAVE_LCD_INVERT
lcd_set_invert_display,
#endif /* HAVE_LCD_INVERT */
};
int plugin_load(const char* plugin, void* parameter)