summaryrefslogtreecommitdiff
path: root/apps/plugins/fire.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-08-16 23:01:18 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-08-16 23:01:18 +0000
commit767c0ec5894f1acaad5e0def12d628c6f21bcf87 (patch)
treea2fbd9ac23adc395d4587a6c9cb85ba4cc001cb8 /apps/plugins/fire.c
parent735ab889d2bd41fdc8a5bf22d7ce5ed724d58474 (diff)
downloadrockbox-767c0ec5894f1acaad5e0def12d628c6f21bcf87.tar.gz
rockbox-767c0ec5894f1acaad5e0def12d628c6f21bcf87.zip
Pass plugin api pointer to funtion directly, fixes crashes when doing incremental builds. Fix incorrect backlight changes in rockblox introduced recently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14373 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r--apps/plugins/fire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c
index 3cfd1abd51..5d6f0618a7 100644
--- a/apps/plugins/fire.c
+++ b/apps/plugins/fire.c
@@ -332,7 +332,7 @@ void cleanup(void *parameter)
332 gray_release(); 332 gray_release();
333#endif 333#endif
334 /* Turn on backlight timeout (revert to settings) */ 334 /* Turn on backlight timeout (revert to settings) */
335 backlight_use_settings(); /* backlight control in lib/helper.c */ 335 backlight_use_settings(rb); /* backlight control in lib/helper.c */
336} 336}
337 337
338/* 338/*
@@ -423,7 +423,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
423 rb->lcd_set_backdrop(NULL); 423 rb->lcd_set_backdrop(NULL);
424#endif 424#endif
425 /* Turn off backlight timeout */ 425 /* Turn off backlight timeout */
426 backlight_force_on(); /* backlight control in lib/helper.c */ 426 backlight_force_on(rb); /* backlight control in lib/helper.c */
427 427
428 ret = main(); 428 ret = main();
429 429