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

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

This commit is contained in:
Marian Buschsieweke 2020-01-08 15:30:20 +01:00
parent 3c7d95de02
commit c4a84f01c0
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -51,7 +51,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)
{
/* check if adc line valid */
if (line >= ADC_NUMOF) {