[bsp/at32] static dma_isr() in hard_i2c and spi
This commit is contained in:
parent
e5382cb733
commit
edfc7d6201
|
@ -1337,7 +1337,7 @@ void i2c_err_isr(struct at32_i2c_handle *handle)
|
|||
i2c_interrupt_enable(handle->i2c_x, I2C_ERR_INT, FALSE);
|
||||
}
|
||||
|
||||
void dma_isr(struct at32_i2c_handle *handle)
|
||||
static void dma_isr(struct at32_i2c_handle *handle)
|
||||
{
|
||||
volatile rt_uint32_t reg_sts = 0, index = 0;
|
||||
struct dma_config *dma = RT_NULL;
|
||||
|
|
|
@ -571,7 +571,7 @@ static void at32_spi_dma_init(struct at32_spi *instance)
|
|||
}
|
||||
}
|
||||
|
||||
void dma_isr(struct dma_config *dma_instance)
|
||||
static void dma_isr(struct dma_config *dma_instance)
|
||||
{
|
||||
volatile rt_uint32_t reg_sts = 0, index = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue