From c4fcb241b1ceb1299534dbd7739b59ba0f7c5115 Mon Sep 17 00:00:00 2001 From: Sebastian Meiling Date: Wed, 11 Sep 2019 13:45:29 +0200 Subject: [PATCH] cpu/cc26x0: adapt timer to return 0 on success Adapt periph/timer implementation of cc26x0 based MCUs to return 0 on success for all functions. --- cpu/cc26x0/periph/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cc26x0/periph/timer.c b/cpu/cc26x0/periph/timer.c index dcd3c5f2f6..b8b1233310 100644 --- a/cpu/cc26x0/periph/timer.c +++ b/cpu/cc26x0/periph/timer.c @@ -184,7 +184,7 @@ int timer_set_absolute(tim_t tim, int channel, unsigned int value) } dev(tim)->IMR |= chn_isr_cfg[channel].flag; - return 1; + return 0; } int timer_clear(tim_t tim, int channel)