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:
commit
d8cfe1f470
@ -90,15 +90,6 @@ static const i2c_conf_t i2c_config[] = {
|
|||||||
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
|
#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
|
* @name PWM configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -96,15 +96,6 @@ static const i2c_conf_t i2c_config[] = {
|
|||||||
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -40,15 +40,6 @@ extern "C" {
|
|||||||
#define UART_PIN_CTS 10
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -68,16 +68,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user