1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #3001 from LudwigOrtmann/pr/hwtimer_compat_fcpu

sys/compat/hwtimer: fix unused fcpu warning
This commit is contained in:
Kaspar Schleiser 2015-05-16 14:31:19 +02:00
commit d59e01e1c8

View File

@ -35,6 +35,8 @@ void (*timeout_handler)(int);
void hwtimer_arch_init(void (*handler)(int), uint32_t fcpu) void hwtimer_arch_init(void (*handler)(int), uint32_t fcpu)
{ {
(void) fcpu;
timeout_handler = handler; timeout_handler = handler;
timer_init(HW_TIMER, 1, &irq_handler); timer_init(HW_TIMER, 1, &irq_handler);
} }