油温探头读取正常

This commit is contained in:
2026-08-25 18:22:51 +08:00
parent 5bbb233dae
commit 67b15c08ba
10 changed files with 298 additions and 27 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart)
}
}
void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size)
void HAL_UARTEx_RxEventCallback_UART4(UART_HandleTypeDef *huart, uint16_t Size)
{
if ((huart->Instance == huart4.Instance) && (huart->RxEventType == HAL_UART_RXEVENT_IDLE)) {
//SCB_InvalidateDCache_by_Addr((volatile void *)rx_packet_buf, Size);