From 3e67e3b1f06488f67d2ebbf844ff40893cc16bf0 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 20 Feb 2009 17:13:08 +0000 Subject: Add a rockbox kernel thread for simulator specific tasks, and use that for calling the screendump function(s). Fixes screendump in simulators for backlight-less targets (Ondio), and reduces mixing of unrelated functionality a bit (screendump was called from backlight thread, triggered by a sim-only system wide event). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20065 a1c6a512-1295-4272-9138-f99709370657 --- firmware/backlight.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'firmware/backlight.c') diff --git a/firmware/backlight.c b/firmware/backlight.c index 513f643..588867f 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c @@ -597,16 +597,6 @@ void backlight_thread(void) break; #endif /* HAVE_REMOTE_LCD/ HAVE_REMOTE_LCD_AS_MAIN */ #endif /* !SIMULATOR */ -#ifdef SIMULATOR - /* TODO: find a better way to do it but we need - * a kernel thread somewhere to handle this */ - case SYS_SCREENDUMP: - screen_dump(); -#ifdef HAVE_REMOTE_LCD - remote_screen_dump(); -#endif - break; -#endif case SYS_USB_CONNECTED: /* Tell the USB thread that we are safe */ DEBUGF("backlight_thread got SYS_USB_CONNECTED\n"); -- cgit v1.1