update:
修改因数据丢失导致退出失败的bug
This commit is contained in:
@@ -144,6 +144,7 @@ static void bsp_Uart_Send(bsp_Uart_t *p_Uart,u8 *pData, u16 Len)
|
||||
{
|
||||
while (!LL_USART_IsActiveFlag_TXE(p_Uart->Uart));
|
||||
LL_USART_TransmitData8(p_Uart->Uart, pData[i]); // 发送一个字节的数据
|
||||
while (!LL_USART_IsActiveFlag_TC(p_Uart->Uart));//解决发送丢数据问题
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user