diff options
Diffstat (limited to 'firmware/target/arm/timer-pp.c')
-rw-r--r-- | firmware/target/arm/timer-pp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||
47 | bool __timer_set(long cycles, bool start) | 47 | bool timer_set(long cycles, bool start) |
48 | { | 48 | { |
49 | if (cycles > 0x20000000 || cycles < 2) | 49 | if (cycles > 0x20000000 || cycles < 2) |
50 | return false; | 50 | return false; |
@@ -67,7 +67,7 @@ bool __timer_set(long cycles, bool start) | |||
67 | return true; | 67 | return true; |
68 | } | 68 | } |
69 | 69 | ||
70 | bool __timer_start(IF_COP_VOID(int core)) | 70 | bool timer_start(IF_COP_VOID(int core)) |
71 | { | 71 | { |
72 | /* unmask interrupt source */ | 72 | /* unmask interrupt source */ |
73 | #if NUM_CORES > 1 | 73 | #if NUM_CORES > 1 |
@@ -79,7 +79,7 @@ bool __timer_start(IF_COP_VOID(int core)) | |||
79 | return true; | 79 | return true; |
80 | } | 80 | } |
81 | 81 | ||
82 | void __timer_stop(void) | 82 | void timer_stop(void) |
83 | { | 83 | { |
84 | TIMER2_CFG = 0; /* stop timer 2 */ | 84 | TIMER2_CFG = 0; /* stop timer 2 */ |
85 | CPU_INT_DIS = TIMER2_MASK; | 85 | CPU_INT_DIS = TIMER2_MASK; |