summaryrefslogtreecommitdiff
path: root/apps/plugins/fire.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r--apps/plugins/fire.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c
index bf01e9bf51..727644fcd4 100644
--- a/apps/plugins/fire.c
+++ b/apps/plugins/fire.c
@@ -25,6 +25,8 @@
25#ifdef HAVE_LCD_BITMAP /* and also not for the Player */ 25#ifdef HAVE_LCD_BITMAP /* and also not for the Player */
26#include "gray.h" 26#include "gray.h"
27 27
28PLUGIN_HEADER
29
28/******************************* Globals ***********************************/ 30/******************************* Globals ***********************************/
29 31
30static struct plugin_api* rb; /* global api struct pointer */ 32static struct plugin_api* rb; /* global api struct pointer */
@@ -278,13 +280,6 @@ int main(void)
278enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 280enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
279{ 281{
280 int ret; 282 int ret;
281 /*
282 * this macro should be called as the first thing you do in the plugin.
283 * it test that the api version and model the plugin was compiled for
284 * matches the machine it is running on
285 */
286
287 TEST_PLUGIN_API(api);
288 283
289 rb = api; // copy to global api pointer 284 rb = api; // copy to global api pointer
290 (void)parameter; 285 (void)parameter;