From 567faa9b61b9124684dc454b05112e28d3b5a97f Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sat, 7 Apr 2012 20:31:56 +1200 Subject: Corrected parameters of timer_set_mode() to u32. --- lib/stm32/f1/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/stm32/f1/timer.c') diff --git a/lib/stm32/f1/timer.c b/lib/stm32/f1/timer.c index 8c32670..85f81ea 100644 --- a/lib/stm32/f1/timer.c +++ b/lib/stm32/f1/timer.c @@ -118,8 +118,8 @@ void timer_clear_flag(u32 timer_peripheral, u32 flag) TIM_SR(timer_peripheral) &= ~flag; } -void timer_set_mode(u32 timer_peripheral, u8 clock_div, - u8 alignment, u8 direction) +void timer_set_mode(u32 timer_peripheral, u32 clock_div, + u32 alignment, u32 direction) { u32 cr1; -- cgit v1.2.3