|
@@ -165,7 +165,7 @@ UINT8 UartTramsit(UINT8 *pSend, UINT32 sendLen, UINT8 *pRead, UINT32 readLen, UI
|
|
|
|
|
|
if ((UART_STATUS_NO_ERROR != Uart_TransmitStatus))
|
|
if ((UART_STATUS_NO_ERROR != Uart_TransmitStatus))
|
|
{
|
|
{
|
|
- Uart_Abort(transChannel, UART_SEND);
|
|
|
|
|
|
+ //Uart_Abort(transChannel, UART_SEND);
|
|
retVal = E_NOT_OK;
|
|
retVal = E_NOT_OK;
|
|
}
|
|
}
|
|
else
|
|
else
|
|
@@ -215,7 +215,6 @@ UINT8 UartTramsit(UINT8 *pSend, UINT32 sendLen, UINT8 *pRead, UINT32 readLen, UI
|
|
{
|
|
{
|
|
Uart_ReceiveStatus = Uart_GetStatus(recvChannel, &T_bytesRemaining, UART_RECEIVE);
|
|
Uart_ReceiveStatus = Uart_GetStatus(recvChannel, &T_bytesRemaining, UART_RECEIVE);
|
|
vTaskDelay(pdMS_TO_TICKS(1));
|
|
vTaskDelay(pdMS_TO_TICKS(1));
|
|
-
|
|
|
|
} while ((UART_STATUS_NO_ERROR != Uart_ReceiveStatus)&& 0<T_timeout--);
|
|
} while ((UART_STATUS_NO_ERROR != Uart_ReceiveStatus)&& 0<T_timeout--);
|
|
if ((UART_STATUS_NO_ERROR != Uart_ReceiveStatus))
|
|
if ((UART_STATUS_NO_ERROR != Uart_ReceiveStatus))
|
|
{
|
|
{
|