1
0
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:
Bas Stottelaar 2018-03-01 20:16:01 +01:00 committed by GitHub
commit bcffbba480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;