1.修正宏开关。
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "device/adc/adc.h"
|
||||
|
||||
#if (MR_CONF_ADC == MR_CFG_ENABLE)
|
||||
#if (MR_CFG_ADC == MR_CFG_ENABLE)
|
||||
|
||||
static mr_err_t err_io_adc_configure(mr_adc_t adc, mr_state_t state)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "mrlib.h"
|
||||
|
||||
#if (MR_CONF_ADC == MR_CFG_ENABLE)
|
||||
#if (MR_CFG_ADC == MR_CFG_ENABLE)
|
||||
|
||||
/**
|
||||
* @struct ADC device config
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "device/dac/dac.h"
|
||||
|
||||
#if (MR_CONF_DAC == MR_CFG_ENABLE)
|
||||
#if (MR_CFG_DAC == MR_CFG_ENABLE)
|
||||
|
||||
static mr_err_t err_io_dac_configure(mr_dac_t dac, mr_state_t state)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "mrlib.h"
|
||||
|
||||
#if (MR_CONF_DAC == MR_CFG_ENABLE)
|
||||
#if (MR_CFG_DAC == MR_CFG_ENABLE)
|
||||
|
||||
/**
|
||||
* @struct DAC device config
|
||||
|
||||
Reference in New Issue
Block a user