From 767c0ec5894f1acaad5e0def12d628c6f21bcf87 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 16 Aug 2007 23:01:18 +0000 Subject: 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 --- apps/plugins/wormlet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/wormlet.c') diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index a2abdba13a..1c78f33ad0 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c @@ -2334,7 +2334,7 @@ bool launch_wormlet(void) rb->lcd_clear_display(); /* Turn off backlight timeout */ - backlight_force_on(); /* backlight control in lib/helper.c */ + backlight_force_on(rb); /* backlight control in lib/helper.c */ /* start the game */ while (game_result == 1) @@ -2344,7 +2344,7 @@ bool launch_wormlet(void) { case 2: /* Turn on backlight timeout (revert to settings) */ - backlight_use_settings(); /* backlight control in lib/helper.c */ + backlight_use_settings(rb); /* backlight control in lib/helper.c */ return false; break; } -- cgit v1.2.3