summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index d72e439..ae32aca 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -138,8 +138,8 @@ static const struct plugin_api rockbox_api = {
#ifdef HAVE_LCD_INVERT
lcd_set_invert_display,
#endif /* HAVE_LCD_INVERT */
-#if defined(HAVE_LCD_ENABLE) && defined(HAVE_LCD_COLOR)
- lcd_set_enable_hook,
+#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
+ lcd_activation_set_hook,
&button_queue,
#endif
bidi_l2v,