summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index ae32aca..c0cdbd8 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -519,7 +519,7 @@ static const struct plugin_api rockbox_api = {
#endif
#if CONFIG_CHARGING
charger_inserted,
-# if CONFIG_CHARGING == CHARGING_MONITOR
+# if CONFIG_CHARGING >= CHARGING_MONITOR
charging_state,
# endif
#endif