update:

修改因数据丢失导致退出失败的bug
This commit is contained in:
2026-09-03 16:25:31 +08:00
parent 1e3c618fd2
commit ca8c82c1f1
4 changed files with 518 additions and 464 deletions
+1
View File
@@ -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));//解决发送丢数据问题
}
}