From 544b03cf9abafc080e10a91f65046eda540ff5ae Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Mon, 12 Dec 2005 13:53:22 +0000 Subject: Add interrupt handler for iPod. Add timer tick support. Remove temporary thread sleep solution. Remove temporary iPod current_tick solution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8224 a1c6a512-1295-4272-9138-f99709370657 --- firmware/thread.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'firmware/thread.c') diff --git a/firmware/thread.c b/firmware/thread.c index 7ed8dbde37..13577e8efb 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -251,8 +251,6 @@ void switch_thread(void) #ifdef SIMULATOR /* Do nothing */ #else -/* We currently have no interrupts on iPod targets, so remove this temp. */ -#if CONFIG_CPU != PP5020 while (num_sleepers == num_threads) { /* Enter sleep mode, woken up on interrupt */ @@ -270,7 +268,6 @@ void switch_thread(void) */ #endif } -#endif #endif current = current_thread; store_context(&thread_contexts[current]); -- cgit v1.2.3