summaryrefslogtreecommitdiff
path: root/apps/plugins/plasma.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r--apps/plugins/plasma.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c
index 2623bdcffb..46cf4c7b50 100644
--- a/apps/plugins/plasma.c
+++ b/apps/plugins/plasma.c
@@ -28,6 +28,8 @@
28#ifdef HAVE_LCD_BITMAP /* and also not for the Player */ 28#ifdef HAVE_LCD_BITMAP /* and also not for the Player */
29#include "gray.h" 29#include "gray.h"
30 30
31PLUGIN_HEADER
32
31/******************************* Globals ***********************************/ 33/******************************* Globals ***********************************/
32 34
33static struct plugin_api* rb; /* global api struct pointer */ 35static struct plugin_api* rb; /* global api struct pointer */
@@ -241,13 +243,6 @@ int main(void)
241enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 243enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
242{ 244{
243 int ret; 245 int ret;
244 /*
245 * this macro should be called as the first thing you do in the plugin.
246 * it test that the api version and model the plugin was compiled for
247 * matches the machine it is running on
248 */
249
250 TEST_PLUGIN_API(api);
251 246
252 rb = api; // copy to global api pointer 247 rb = api; // copy to global api pointer
253 (void)parameter; 248 (void)parameter;