diff options
Diffstat (limited to 'nuttx/configs/mbed/src/lpc17_adc.c')
-rw-r--r-- | nuttx/configs/mbed/src/lpc17_adc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/configs/mbed/src/lpc17_adc.c b/nuttx/configs/mbed/src/lpc17_adc.c index 0ae4423b4..7b0fe4826 100644 --- a/nuttx/configs/mbed/src/lpc17_adc.c +++ b/nuttx/configs/mbed/src/lpc17_adc.c @@ -49,6 +49,7 @@ #include <errno.h> #include <debug.h> +#include <nuttx/board.h> #include <nuttx/analog/adc.h> #include <arch/board/board.h> @@ -77,7 +78,7 @@ ************************************************************************************/ /************************************************************************************ - * Name: adc_devinit + * Name: board_adc_setup * * Description: * All LPC17 architectures must provide the following interface to work with @@ -85,7 +86,7 @@ * ************************************************************************************/ -int adc_devinit(void) +int board_adc_setup(void) { static bool initialized = false; struct adc_dev_s *adc; |