Merge pull request #1456 from alignan/pull/fix-zoul-adc

Fixed filter value preventing from initializing the ADC
This commit is contained in:
Antonio Lignan 2016-01-11 20:27:48 +01:00
commit 4a923df0b8

View file

@ -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)