diff --git a/cpu/sam0_common/periph/adc.c b/cpu/sam0_common/periph/adc.c index 9c3ac39bb0..69193aa6c9 100644 --- a/cpu/sam0_common/periph/adc.c +++ b/cpu/sam0_common/periph/adc.c @@ -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);