diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index ab966da78f..5e43e2e9b5 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h | |||
@@ -68,7 +68,7 @@ struct mutex | |||
68 | /* global tick variable */ | 68 | /* global tick variable */ |
69 | #if (CONFIG_CPU==PP5020) | 69 | #if (CONFIG_CPU==PP5020) |
70 | /* A temporary hack until timer interrupt is enabled - use the RTC */ | 70 | /* A temporary hack until timer interrupt is enabled - use the RTC */ |
71 | #define current_tick ((*((volatile unsigned long*)0x60005010))/10000) | 71 | #define current_tick ((*((volatile long*)0x60005010))/10000) |
72 | #else | 72 | #else |
73 | extern long current_tick; | 73 | extern long current_tick; |
74 | #endif | 74 | #endif |