diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index cfbd3e72af..c638688753 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -120,12 +120,12 @@ | |||
120 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 120 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
121 | 121 | ||
122 | /* increase this every time the api struct changes */ | 122 | /* increase this every time the api struct changes */ |
123 | #define PLUGIN_API_VERSION 106 | 123 | #define PLUGIN_API_VERSION 107 |
124 | 124 | ||
125 | /* update this to latest version if a change to the api struct breaks | 125 | /* update this to latest version if a change to the api struct breaks |
126 | backwards compatibility (and please take the opportunity to sort in any | 126 | backwards compatibility (and please take the opportunity to sort in any |
127 | new function which are "waiting" at the end of the function table) */ | 127 | new function which are "waiting" at the end of the function table) */ |
128 | #define PLUGIN_MIN_API_VERSION 105 | 128 | #define PLUGIN_MIN_API_VERSION 107 |
129 | 129 | ||
130 | /* plugin return codes */ | 130 | /* plugin return codes */ |
131 | enum plugin_status { | 131 | enum plugin_status { |
@@ -235,6 +235,7 @@ struct plugin_api { | |||
235 | #if CONFIG_CHARGING | 235 | #if CONFIG_CHARGING |
236 | void (*backlight_set_timeout_plugged)(int index); | 236 | void (*backlight_set_timeout_plugged)(int index); |
237 | #endif | 237 | #endif |
238 | bool (*is_backlight_on)(bool ignore_always_off); | ||
238 | void (*splash)(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); | 239 | void (*splash)(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); |
239 | 240 | ||
240 | #ifdef HAVE_REMOTE_LCD | 241 | #ifdef HAVE_REMOTE_LCD |
@@ -394,7 +395,7 @@ struct plugin_api { | |||
394 | #endif | 395 | #endif |
395 | bool (*timer_register)(int reg_prio, void (*unregister_callback)(void), | 396 | bool (*timer_register)(int reg_prio, void (*unregister_callback)(void), |
396 | long cycles, int int_prio, | 397 | long cycles, int int_prio, |
397 | void (*timer_callback)(void)); | 398 | void (*timer_callback)(void) IF_COP(, int core)); |
398 | void (*timer_unregister)(void); | 399 | void (*timer_unregister)(void); |
399 | bool (*timer_set_period)(long count); | 400 | bool (*timer_set_period)(long count); |
400 | 401 | ||
@@ -722,7 +723,6 @@ struct plugin_api { | |||
722 | /* new stuff at the end, sort into place next time | 723 | /* new stuff at the end, sort into place next time |
723 | the API gets incompatible */ | 724 | the API gets incompatible */ |
724 | 725 | ||
725 | bool (*is_backlight_on)(bool ignore_always_off); | ||
726 | }; | 726 | }; |
727 | 727 | ||
728 | /* plugin header */ | 728 | /* plugin header */ |