解决中断冲突
This commit is contained in:
@ -18,7 +18,6 @@ void dma_init(DMA_Stream_TypeDef *dma_stream_handle, uint32_t ch)
|
||||
|
||||
__HAL_LINKDMA(&huart1,hdmatx, g_dma_handle);
|
||||
|
||||
/* Tx DMA???? */
|
||||
g_dma_handle.Instance = dma_stream_handle;
|
||||
g_dma_handle.Init.Request = ch;
|
||||
g_dma_handle.Init.Direction = DMA_MEMORY_TO_PERIPH;
|
||||
|
Reference in New Issue
Block a user