Skip to content
Snippets Groups Projects
Commit 91e3215c authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

boards/nrf51: remove ADC_NUMOF define when not needed

parent 364c528d
No related branches found
No related tags found
No related merge requests found
...@@ -90,15 +90,6 @@ static const i2c_conf_t i2c_config[] = { ...@@ -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[] = { ...@@ -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" { ...@@ -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[] = { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment