diff --git a/boards/airfy-beacon/include/periph_conf.h b/boards/airfy-beacon/include/periph_conf.h index ce507eab80..cce1947844 100644 --- a/boards/airfy-beacon/include/periph_conf.h +++ b/boards/airfy-beacon/include/periph_conf.h @@ -95,12 +95,13 @@ static const timer_conf_t timer_config[] = { /** @} */ /** - * @name ADC configuration + * @brief ADC configuration + * + * The configuration consists simply of a list of channels that should be used * @{ */ -static const uint8_t adc_config[] = {3, 4, 5, 6}; - -#define ADC_NUMOF (sizeof(adc_config) / sizeof(adc_config[0])) +#define ADC_CONFIG {3, 4, 5, 6} +#define ADC_NUMOF (4) /** @} */ /** diff --git a/boards/pca10000/include/periph_conf.h b/boards/pca10000/include/periph_conf.h index b00406327b..08cfd5b789 100644 --- a/boards/pca10000/include/periph_conf.h +++ b/boards/pca10000/include/periph_conf.h @@ -82,6 +82,15 @@ static const timer_conf_t timer_config[] = { #define UART_PIN_CTS 10 /** @} */ +/** + * @brief ADC configuration + * + * The configuration consists simply of a list of channels that should be used + * @{ + */ +#define ADC_NUMOF (0) +/** @} */ + /** * @name Radio device configuration *