diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 286e6bccfe..d261ea5542 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -128,12 +128,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
128 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 128 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
129 | 129 | ||
130 | /* increase this every time the api struct changes */ | 130 | /* increase this every time the api struct changes */ |
131 | #define PLUGIN_API_VERSION 144 | 131 | #define PLUGIN_API_VERSION 145 |
132 | 132 | ||
133 | /* update this to latest version if a change to the api struct breaks | 133 | /* update this to latest version if a change to the api struct breaks |
134 | backwards compatibility (and please take the opportunity to sort in any | 134 | backwards compatibility (and please take the opportunity to sort in any |
135 | new function which are "waiting" at the end of the function table) */ | 135 | new function which are "waiting" at the end of the function table) */ |
136 | #define PLUGIN_MIN_API_VERSION 144 | 136 | #define PLUGIN_MIN_API_VERSION 145 |
137 | 137 | ||
138 | /* plugin return codes */ | 138 | /* plugin return codes */ |
139 | enum plugin_status { | 139 | enum plugin_status { |
@@ -658,7 +658,7 @@ struct plugin_api { | |||
658 | #endif | 658 | #endif |
659 | #if CONFIG_CHARGING | 659 | #if CONFIG_CHARGING |
660 | bool (*charger_inserted)(void); | 660 | bool (*charger_inserted)(void); |
661 | # if CONFIG_CHARGING == CHARGING_MONITOR | 661 | # if CONFIG_CHARGING >= CHARGING_MONITOR |
662 | bool (*charging_state)(void); | 662 | bool (*charging_state)(void); |
663 | # endif | 663 | # endif |
664 | #endif | 664 | #endif |