mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #8718 from cladmi/pr/cpu/efm32/remove_timer_set
cpu/efm32/periph/timer: remove timer_set duplicate
This commit is contained in:
commit
bcffbba480
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user