diff --git a/bspMCU/My_print.c b/bspMCU/My_print.c index 3e73549..bf830b4 100644 --- a/bspMCU/My_print.c +++ b/bspMCU/My_print.c @@ -40,7 +40,7 @@ int USART_Send(char *_pBuffer, uint32_t _iSize) // int iRet = HAL_UART_Transmit(ptUartUserData->m_uart, (uint8_t *)_pBuffer, _iSize, 100); // HAL_GPIO_WritePin(RS485_2_DIR_GPIO_Port, RS485_2_DIR_Pin,GPIO_PIN_RESET); RD_MEMCPY(uart_tx_buffer, _pBuffer, _iSize); - SCB_CleanDCache_by_Addr((uint32_t*)uart_tx_buffer, _iSize); + //SCB_CleanDCache_by_Addr((uint32_t*)uart_tx_buffer, _iSize); int iRet = HAL_UART_Transmit_DMA(ptUartUserData->m_uart, (uint8_t *)uart_tx_buffer, _iSize); return iRet;