mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
cpu/sam3: adapt timer to return 0 on success
Adapt periph/timer implementation of sam3 based MCUs to return 0 on success for all functions.
This commit is contained in:
parent
49acf98841
commit
0629d076eb
@ -141,7 +141,7 @@ int timer_clear(tim_t tim, int channel)
|
||||
|
||||
dev(tim)->TC_CHANNEL[0].TC_IDR = (TC_IDR_CPAS << channel);
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned int timer_read(tim_t tim)
|
||||
|
Loading…
Reference in New Issue
Block a user