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 dd82a8d..ebf0484 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -33,7 +33,7 @@
#include "splash.h"
#include "logf.h"
-#ifdef CONFIG_CHARGING
+#if CONFIG_CHARGING
#include "power.h"
#endif
@@ -406,7 +406,7 @@ static const struct plugin_api rockbox_api = {
#ifndef SIMULATOR
battery_voltage,
#endif
-#ifdef CONFIG_CHARGING
+#if CONFIG_CHARGING
charger_inserted,
# if CONFIG_CHARGING == CHARGING_MONITOR
charging_state,