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 53648ad4c7..e8fb25e555 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -153,7 +153,7 @@ struct plugin_api { #endif void (*backlight_on)(void); void (*backlight_off)(void); - void (*splash)(int ticks, bool center, char *fmt, ...); + void (*splash)(int ticks, bool center, const char *fmt, ...); /* button */ int (*button_get)(bool block); @@ -298,7 +298,7 @@ struct plugin_api { }; /* defined by the plugin loader (plugin.c) */ -int plugin_load(char* plugin, void* parameter); +int plugin_load(const char* plugin, void* parameter); void* plugin_get_buffer(int *buffer_size); void* plugin_get_mp3_buffer(int *buffer_size); int plugin_register_timer(int cycles, int prio, void (*timer_callback)(void)); |