1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00

cpu/sam0_common/periph: adc_sample() now returns int32_t

This commit is contained in:
Marian Buschsieweke 2020-01-08 15:31:54 +01:00
parent 186d2ccfa4
commit 47cb59e6e5
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -164,7 +164,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)
{
if (line >= ADC_NUMOF) {
DEBUG("adc: line arg not applicable\n");