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

cpu/sam0_common: adc: default to 0 for ADC_NEG_INPUT

This commit is contained in:
Benjamin Valentin 2022-05-30 18:41:46 +02:00
parent d6d5d935a6
commit 24e918ca19

View File

@ -36,6 +36,10 @@
#define ADC_GAIN_FACTOR_DEFAULT (0)
#endif
#ifndef ADC_NEG_INPUT
#define ADC_NEG_INPUT (0)
#endif
/* Prototypes */
static void _adc_poweroff(Adc *dev);
static void _setup_clock(Adc *dev);