Merge pull request #10476 from aabadie/pr/boards/nrf51_no_adc

boards/nrf51: remove ADC_NUMOF define when not needed
This commit is contained in:
Hauke Petersen 2018-11-28 09:48:37 +01:00 committed by GitHub
commit d8cfe1f470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 37 deletions

View File

@ -90,15 +90,6 @@ static const i2c_conf_t i2c_config[] = {
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
/** @} */
/**
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @name PWM configuration
* @{

View File

@ -96,15 +96,6 @@ static const i2c_conf_t i2c_config[] = {
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
/** @} */
/**
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{
*/
#define ADC_NUMOF (0)
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -40,15 +40,6 @@ extern "C" {
#define UART_PIN_CTS 10
/** @} */
/**
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{
*/
#define ADC_NUMOF (0)
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -68,16 +68,6 @@ static const spi_conf_t spi_config[] = {
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
/** @} */
/**
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{
*/
#define ADC_NUMOF (0)
/** @} */
#ifdef __cplusplus
}
#endif