diff options
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index daab88e..a48a65d 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -510,7 +510,7 @@ struct plugin_api { #ifndef SIMULATOR unsigned int (*battery_voltage)(void); #endif -#ifdef CONFIG_CHARGING +#if CONFIG_CHARGING bool (*charger_inserted)(void); # if CONFIG_CHARGING == CHARGING_MONITOR bool (*charging_state)(void); |