mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/nrf51/periph: adc_sample() now returns int32_t
This commit is contained in:
parent
c332501eb8
commit
a468af79a4
@ -55,7 +55,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)
|
||||
{
|
||||
int val;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user