diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index e55dcf13cb..f781f60350 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -160,12 +160,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
160 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 160 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
161 | 161 | ||
162 | /* increase this every time the api struct changes */ | 162 | /* increase this every time the api struct changes */ |
163 | #define PLUGIN_API_VERSION 232 | 163 | #define PLUGIN_API_VERSION 233 |
164 | 164 | ||
165 | /* update this to latest version if a change to the api struct breaks | 165 | /* update this to latest version if a change to the api struct breaks |
166 | backwards compatibility (and please take the opportunity to sort in any | 166 | backwards compatibility (and please take the opportunity to sort in any |
167 | new function which are "waiting" at the end of the function table) */ | 167 | new function which are "waiting" at the end of the function table) */ |
168 | #define PLUGIN_MIN_API_VERSION 232 | 168 | #define PLUGIN_MIN_API_VERSION 233 |
169 | 169 | ||
170 | /* plugin return codes */ | 170 | /* plugin return codes */ |
171 | /* internal returns start at 0x100 to make exit(1..255) work */ | 171 | /* internal returns start at 0x100 to make exit(1..255) work */ |
@@ -823,9 +823,8 @@ struct plugin_api { | |||
823 | bool (*charging_state)(void); | 823 | bool (*charging_state)(void); |
824 | # endif | 824 | # endif |
825 | #endif | 825 | #endif |
826 | #ifdef HAVE_USB_POWER | 826 | /* usb */ |
827 | bool (*usb_powered)(void); | 827 | bool (*usb_inserted)(void); |
828 | #endif | ||
829 | 828 | ||
830 | /* misc */ | 829 | /* misc */ |
831 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 830 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |