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.
This commit is contained in:
parent
291922be34
commit
6f2eeca91b
@ -98,11 +98,6 @@ int timer_init(tim_t dev, unsigned long freq, timer_cb_t callback, void *arg)
|
|||||||
return 0;
|
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)
|
int timer_set_absolute(tim_t dev, int channel, unsigned int value)
|
||||||
{
|
{
|
||||||
TIMER_TypeDef *tim;
|
TIMER_TypeDef *tim;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user