summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-04-24 00:06:45 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-04-24 00:06:45 +0000
commit8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8 (patch)
tree225d9140ea72250052bc8b9c183c1caa27562d4a /apps/plugin.c
parentbcb442d0a28dd0053ba62d88a31159d9c9b25b2c (diff)
downloadrockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.zip
rockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.tar.gz
rockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.tar.bz2
rockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.tar.xz
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
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 3 insertions, 1 deletions
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)