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:
commit
d59e01e1c8
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user