diff options
Diffstat (limited to 'firmware/export/kernel.h')
-rw-r--r-- | firmware/export/kernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
66 | }; | 66 | }; |
67 | 67 | ||
68 | /* global tick variable */ | 68 | /* global tick variable */ |
69 | #if (CONFIG_CPU == PP5020) && defined(BOOTLOADER) | 69 | #if ((CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)) && defined(BOOTLOADER) |
70 | /* We don't enable interrupts in the iPod bootloader, so we need to fake | 70 | /* We don't enable interrupts in the iPod bootloader, so we need to fake |
71 | the current_tick variable */ | 71 | the current_tick variable */ |
72 | #define current_tick ((*((volatile long*)0x60005010))/10000) | 72 | #define current_tick (USEC_TIMER/10000) |
73 | #else | 73 | #else |
74 | extern long current_tick; | 74 | extern long current_tick; |
75 | #endif | 75 | #endif |