1
0
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:
Marian Buschsieweke 2020-01-08 15:32:06 +01:00
parent 47cb59e6e5
commit 2247263a78
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

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