forked from len0rd/rockbox
iPod: Make current_tick signed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8003 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c836341ed
commit
e3367212bd
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ struct mutex
|
||||||
/* global tick variable */
|
/* global tick variable */
|
||||||
#if (CONFIG_CPU==PP5020)
|
#if (CONFIG_CPU==PP5020)
|
||||||
/* A temporary hack until timer interrupt is enabled - use the RTC */
|
/* A temporary hack until timer interrupt is enabled - use the RTC */
|
||||||
#define current_tick ((*((volatile unsigned long*)0x60005010))/10000)
|
#define current_tick ((*((volatile long*)0x60005010))/10000)
|
||||||
#else
|
#else
|
||||||
extern long current_tick;
|
extern long current_tick;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue