summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 4cf319210c..4981230df3 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -133,12 +133,12 @@ void* plugin_get_buffer(size_t *buffer_size);
133#define PLUGIN_MAGIC 0x526F634B /* RocK */ 133#define PLUGIN_MAGIC 0x526F634B /* RocK */
134 134
135/* increase this every time the api struct changes */ 135/* increase this every time the api struct changes */
136#define PLUGIN_API_VERSION 170 136#define PLUGIN_API_VERSION 171
137 137
138/* update this to latest version if a change to the api struct breaks 138/* update this to latest version if a change to the api struct breaks
139 backwards compatibility (and please take the opportunity to sort in any 139 backwards compatibility (and please take the opportunity to sort in any
140 new function which are "waiting" at the end of the function table) */ 140 new function which are "waiting" at the end of the function table) */
141#define PLUGIN_MIN_API_VERSION 170 141#define PLUGIN_MIN_API_VERSION 171
142 142
143/* plugin return codes */ 143/* plugin return codes */
144enum plugin_status { 144enum plugin_status {
@@ -672,7 +672,7 @@ struct plugin_api {
672 bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit, 672 bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit,
673 const int* variable, void (*function)(int), int step, 673 const int* variable, void (*function)(int), int step,
674 int min, int max, 674 int min, int max,
675 void (*formatter)(char*, size_t, int, const char*) ); 675 const char* (*formatter)(char*, size_t, int, const char*) );
676 bool (*set_bool)(const char* string, const bool* variable ); 676 bool (*set_bool)(const char* string, const bool* variable );
677 677
678#ifdef HAVE_LCD_COLOR 678#ifdef HAVE_LCD_COLOR