油温探头读取正常
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user