Merge pull request #4101 from guohp1128/master

#define ADC_NAME adc updated to header file.
This commit is contained in:
Bernard Xiong 2020-12-03 08:01:30 +08:00 committed by GitHub
commit 3c361e6ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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