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:
parent
186d2ccfa4
commit
47cb59e6e5
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user