From 6f2eeca91bc245121b11cd5bc51ca16e4340e481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Thu, 1 Mar 2018 17:27:01 +0100 Subject: [PATCH] cpu/efm32/periph/timer: remove timer_set duplicate timer_set is already provided by 'periph_common' so does not need to be provided by cpu/periph. --- cpu/efm32/periph/timer.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cpu/efm32/periph/timer.c b/cpu/efm32/periph/timer.c index 2305eb5c3e..f7b70a366f 100644 --- a/cpu/efm32/periph/timer.c +++ b/cpu/efm32/periph/timer.c @@ -98,11 +98,6 @@ int timer_init(tim_t dev, unsigned long freq, timer_cb_t callback, void *arg) return 0; } -int timer_set(tim_t dev, int channel, unsigned int timeout) -{ - return timer_set_absolute(dev, channel, timer_read(dev) + timeout); -} - int timer_set_absolute(tim_t dev, int channel, unsigned int value) { TIMER_TypeDef *tim;