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.
This commit is contained in:
parent
cabaaebff4
commit
c4fcb241b1
@ -184,7 +184,7 @@ int timer_set_absolute(tim_t tim, int channel, unsigned int value)
|
|||||||
}
|
}
|
||||||
dev(tim)->IMR |= chn_isr_cfg[channel].flag;
|
dev(tim)->IMR |= chn_isr_cfg[channel].flag;
|
||||||
|
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int timer_clear(tim_t tim, int channel)
|
int timer_clear(tim_t tim, int channel)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user