mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
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
|
#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…
x
Reference in New Issue
Block a user