1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

boards/pca10000: added dummy ADC config

This commit is contained in:
Hauke Petersen 2016-03-11 19:43:23 +01:00
parent 838683dd7a
commit b1228037df
2 changed files with 14 additions and 4 deletions

View File

@ -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)
/** @} */
/**

View File

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