From 8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 24 Apr 2008 00:06:45 +0000 Subject: 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 --- apps/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index fa59fcf..b3710e4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -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) -- cgit v1.1