fix:修复UDP通讯长数据丢包问题

This commit is contained in:
2026-05-06 15:22:21 +08:00
parent e8987abe14
commit f858a672a4
9 changed files with 273 additions and 60 deletions

View File

@@ -135,7 +135,7 @@ void air724_callback_fun()
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xQueueSendFromISR(Air724_Message_Queue, uart1_rx_buffer, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
memset(uart1_rx_buffer, 0, UART1_RX_BUFFER_SIZE);
memset(uart1_rx_buffer, 0, UART1_RX_BUFFER_SIZE);
}
void rs485_callback_fun()