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