summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/pong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index 9c76ef241a..18fdcad9ae 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -270,8 +270,6 @@ void showscore(struct pong *p)
270/* this is the plugin entry point */ 270/* this is the plugin entry point */
271enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 271enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
272{ 272{
273 TEST_PLUGIN_API(api);
274
275 struct pong pong; 273 struct pong pong;
276 bool game = true; 274 bool game = true;
277 275
@@ -294,6 +292,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
294 this to avoid the compiler warning about it */ 292 this to avoid the compiler warning about it */
295 (void)parameter; 293 (void)parameter;
296 294
295 TEST_PLUGIN_API(api);
296
297 rb = api; /* use the "standard" rb pointer */ 297 rb = api; /* use the "standard" rb pointer */
298 298
299 /* Clear screen */ 299 /* Clear screen */