[bsp/at32] static dma_isr() in hard_i2c and spi

This commit is contained in:
Koen De Vleeschauwer 2024-08-21 16:42:08 +02:00 committed by Meco Man
parent e5382cb733
commit edfc7d6201
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;