mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/sam3/periph: adc_sample() now returns int32_t
This commit is contained in:
parent
47cb59e6e5
commit
2247263a78
@ -68,7 +68,7 @@ int adc_init(adc_t line)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int adc_sample(adc_t line, adc_res_t res)
|
||||
int32_t adc_sample(adc_t line, adc_res_t res)
|
||||
{
|
||||
assert(line < ADC_NUMOF);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user