From d16a8b8845ed496e9375c5dfac6da2011c9eb362 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 5 Feb 2006 16:52:22 +0000 Subject: More iPod 3G changes from Seven Le Mesle, and some unification of the iPod code from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/kernel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export/kernel.h') diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index 5cd3c6dc94..89c56da1b9 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h @@ -66,10 +66,10 @@ struct mutex }; /* global tick variable */ -#if (CONFIG_CPU == PP5020) && defined(BOOTLOADER) +#if ((CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)) && defined(BOOTLOADER) /* We don't enable interrupts in the iPod bootloader, so we need to fake the current_tick variable */ -#define current_tick ((*((volatile long*)0x60005010))/10000) +#define current_tick (USEC_TIMER/10000) #else extern long current_tick; #endif -- cgit v1.2.3