Merge pull request #4101 from guohp1128/master
#define ADC_NAME adc updated to header file.
This commit is contained in:
commit
3c361e6ead
|
@ -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;
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include <hal/nrf_saadc.h>
|
||||
#include <drivers/include/nrfx_saadc.h>
|
||||
|
||||
#define ADC_NAME "adc"
|
||||
|
||||
/*
|
||||
previous definition in application
|
||||
|
||||
|
|
Loading…
Reference in New Issue