From fefb84596e944c75fc6886773a154ec5ccca8ae5 Mon Sep 17 00:00:00 2001 From: Antonio Lignan Date: Mon, 11 Jan 2016 17:21:23 +0100 Subject: [PATCH] Fixed filter value preventing from initializing the ADC --- platform/zoul/dev/adc-sensors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/zoul/dev/adc-sensors.h b/platform/zoul/dev/adc-sensors.h index 31e81efed..848af9dae 100644 --- a/platform/zoul/dev/adc-sensors.h +++ b/platform/zoul/dev/adc-sensors.h @@ -87,7 +87,7 @@ * platforms, the following assumes PA0 shall not be used as ADC input, else * re-write the below definitions */ -#define ZOUL_SENSORS_ADC_MIN 4 +#define ZOUL_SENSORS_ADC_MIN 2 /* ADC phidget-like connector ADC1 */ #if ADC_SENSORS_ADC1_PIN >= ZOUL_SENSORS_ADC_MIN #define ZOUL_SENSORS_ADC1 GPIO_PIN_MASK(ADC_SENSORS_ADC1_PIN)