diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:57 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:57 +0000 |
commit | c5dedd7d762f48e940ecc0bd17dd2173d59a92e1 (patch) | |
tree | cd4d9dc085b4c40f281f17953a3e126dd1c0c02b /firmware/target/arm/tcc780x/timer-tcc780x.c | |
parent | 89ccd5c145e45ad541a02f38e2ad07fb916f7135 (diff) |
Remove the TIMER_* macros and declare target-specific functions in timer.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc780x/timer-tcc780x.c')
-rw-r--r-- | firmware/target/arm/tcc780x/timer-tcc780x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/tcc780x/timer-tcc780x.c b/firmware/target/arm/tcc780x/timer-tcc780x.c index ddd3b1d694..74502ae369 100644 --- a/firmware/target/arm/tcc780x/timer-tcc780x.c +++ b/firmware/target/arm/tcc780x/timer-tcc780x.c @@ -27,7 +27,7 @@ static const int prescale_shifts[] = {1, 2, 3, 4, 5, 10, 12}; -bool __timer_set(long cycles, bool start) +bool timer_set(long cycles, bool start) { bool found = false; @@ -62,7 +62,7 @@ bool __timer_set(long cycles, bool start) return true; } -bool __timer_start(void) +bool timer_start(void) { int oldstatus = disable_interrupt_save(IRQ_STATUS); @@ -73,7 +73,7 @@ bool __timer_start(void) return true; } -void __timer_stop(void) +void timer_stop(void) { int oldstatus = disable_interrupt_save(IRQ_STATUS); |