#define ADC_NAME adc updated to header file.
This commit is contained in:
parent
af95348bf1
commit
e4964f6692
|
@ -12,8 +12,6 @@
|
||||||
|
|
||||||
#ifdef RT_USING_ADC
|
#ifdef RT_USING_ADC
|
||||||
|
|
||||||
#define ADC_NAME "adc"
|
|
||||||
|
|
||||||
struct rt_adc_device nrf5x_adc_device;
|
struct rt_adc_device nrf5x_adc_device;
|
||||||
|
|
||||||
drv_nrfx_saadc_result_t results;
|
drv_nrfx_saadc_result_t results;
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
#include <hal/nrf_saadc.h>
|
#include <hal/nrf_saadc.h>
|
||||||
#include <drivers/include/nrfx_saadc.h>
|
#include <drivers/include/nrfx_saadc.h>
|
||||||
|
|
||||||
|
#define ADC_NAME "adc"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
previous definition in application
|
previous definition in application
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue