From 91e3215ce2cd3135c046c4ad33417904d3b58d3f Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Tue, 27 Nov 2018 08:41:00 +0100
Subject: [PATCH] boards/nrf51: remove ADC_NUMOF define when not needed

---
 boards/calliope-mini/include/periph_conf.h |  9 ---------
 boards/microbit/include/periph_conf.h      |  9 ---------
 boards/nrf51dongle/include/periph_conf.h   |  9 ---------
 boards/nrf6310/include/periph_conf.h       | 10 ----------
 4 files changed, 37 deletions(-)

diff --git a/boards/calliope-mini/include/periph_conf.h b/boards/calliope-mini/include/periph_conf.h
index 4706755985..29a130fec3 100644
--- a/boards/calliope-mini/include/periph_conf.h
+++ b/boards/calliope-mini/include/periph_conf.h
@@ -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
  * @{
diff --git a/boards/microbit/include/periph_conf.h b/boards/microbit/include/periph_conf.h
index bf1661f8cd..8277a4dbbd 100644
--- a/boards/microbit/include/periph_conf.h
+++ b/boards/microbit/include/periph_conf.h
@@ -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
diff --git a/boards/nrf51dongle/include/periph_conf.h b/boards/nrf51dongle/include/periph_conf.h
index 3d6bab03db..8f15d9dba8 100644
--- a/boards/nrf51dongle/include/periph_conf.h
+++ b/boards/nrf51dongle/include/periph_conf.h
@@ -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
diff --git a/boards/nrf6310/include/periph_conf.h b/boards/nrf6310/include/periph_conf.h
index faad58039e..f407434306 100644
--- a/boards/nrf6310/include/periph_conf.h
+++ b/boards/nrf6310/include/periph_conf.h
@@ -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
-- 
GitLab