From c5dedd7d762f48e940ecc0bd17dd2173d59a92e1 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 29 Jun 2009 14:29:57 +0000 Subject: 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 --- firmware/target/arm/timer-pp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/target/arm/timer-pp.c') diff --git a/firmware/target/arm/timer-pp.c b/firmware/target/arm/timer-pp.c index 01c691f79e..a8879b1824 100644 --- a/firmware/target/arm/timer-pp.c +++ b/firmware/target/arm/timer-pp.c @@ -44,7 +44,7 @@ void TIMER2(void) } } -bool __timer_set(long cycles, bool start) +bool timer_set(long cycles, bool start) { if (cycles > 0x20000000 || cycles < 2) return false; @@ -67,7 +67,7 @@ bool __timer_set(long cycles, bool start) return true; } -bool __timer_start(IF_COP_VOID(int core)) +bool timer_start(IF_COP_VOID(int core)) { /* unmask interrupt source */ #if NUM_CORES > 1 @@ -79,7 +79,7 @@ bool __timer_start(IF_COP_VOID(int core)) return true; } -void __timer_stop(void) +void timer_stop(void) { TIMER2_CFG = 0; /* stop timer 2 */ CPU_INT_DIS = TIMER2_MASK; -- cgit v1.2.3