From a479f9abed9b5e3806e0241524d311275436d94f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 5 Dec 2016 17:12:33 -0600 Subject: [PATCH] Remove all usage of BOARDIOC_ADCTEST_SETUP --- examples/adc/adc_main.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/examples/adc/adc_main.c b/examples/adc/adc_main.c index 8bbc469dc..c22cb8e7e 100644 --- a/examples/adc/adc_main.c +++ b/examples/adc/adc_main.c @@ -41,7 +41,6 @@ #include #include -#include #include #include @@ -246,18 +245,10 @@ int adc_main(int argc, char *argv[]) if (!g_adcstate.initialized) { - /* Initialization of the ADC hardware is performed by logic external to - * this test. + /* Initialization of the ADC hardware must be performed by board-specific + * logic prior to running this test. */ - printf("adc_main: Initializing external ADC device\n"); - ret = boardctl(BOARDIOC_ADCTEST_SETUP, 0); - if (ret < 0) - { - printf("adc_main: boardctl failed: %d\n", errno); - errval = 1; - goto errout; - } /* Set the default values */