#define ADC_NAME adc updated to header file.

This commit is contained in:
guohp1128 2020-11-29 11:13:44 +08:00
parent af95348bf1
commit e4964f6692
2 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,6 @@
#ifdef RT_USING_ADC
#define ADC_NAME "adc"
struct rt_adc_device nrf5x_adc_device;
drv_nrfx_saadc_result_t results;

View File

@ -16,6 +16,8 @@
#include <hal/nrf_saadc.h>
#include <drivers/include/nrfx_saadc.h>
#define ADC_NAME "adc"
/*
previous definition in application