mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
Fixed filter value preventing from initializing the ADC
This commit is contained in:
parent
c394302c44
commit
fefb84596e
@ -87,7 +87,7 @@
|
|||||||
* platforms, the following assumes PA0 shall not be used as ADC input, else
|
* platforms, the following assumes PA0 shall not be used as ADC input, else
|
||||||
* re-write the below definitions
|
* re-write the below definitions
|
||||||
*/
|
*/
|
||||||
#define ZOUL_SENSORS_ADC_MIN 4
|
#define ZOUL_SENSORS_ADC_MIN 2
|
||||||
/* ADC phidget-like connector ADC1 */
|
/* ADC phidget-like connector ADC1 */
|
||||||
#if ADC_SENSORS_ADC1_PIN >= ZOUL_SENSORS_ADC_MIN
|
#if ADC_SENSORS_ADC1_PIN >= ZOUL_SENSORS_ADC_MIN
|
||||||
#define ZOUL_SENSORS_ADC1 GPIO_PIN_MASK(ADC_SENSORS_ADC1_PIN)
|
#define ZOUL_SENSORS_ADC1 GPIO_PIN_MASK(ADC_SENSORS_ADC1_PIN)
|
||||||
|
Loading…
Reference in New Issue
Block a user