提交 e2d6f6aa 编写于 作者: I iysheng

[bsp][gd32103c-eval] Modify adc driver with LOG_x function and deselect adc and hwtimer driver

上级 a281ee98
......@@ -9,17 +9,15 @@
*/
#include <board.h>
#include <drivers/drv_comm.h>
#include <drivers/adc.h>
#include <rtdbg.h>
#ifdef RT_USING_ADC
#define DBG_TAG "drv.adc"
#define DBG_LVL DBG_INFO
//#define DRV_DEBUG
#define LOG_TAG "drv.adc"
#include <rtdbg.h>
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#endif
#ifdef RT_USING_ADC
#define MAX_EXTERN_ADC_CHANNEL 16
......
......@@ -85,7 +85,6 @@
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN
#define RT_USING_ADC
/* Using USB */
......@@ -161,7 +160,5 @@
#define BSP_USING_UART
#define BSP_USING_UART0
#define BSP_USING_ADC
#define BSP_USING_ADC0
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册