|
@@ -2,7 +2,7 @@
|
|
|
* @Author : ChenJie
|
|
|
* @Date : 2021-10-14 09:27:15
|
|
|
* @LastEditors : ChenJie
|
|
|
- * @LastEditTime : 2021-11-15 15:05:06
|
|
|
+ * @LastEditTime : 2021-11-16 12:17:51
|
|
|
* @Description : file content
|
|
|
* @FilePath : \PLAT\project\ec616_0h00\apps\qx_app\src\AppTaskUart.c
|
|
|
*/
|
|
@@ -438,7 +438,7 @@ UINT8 UartAppTrasmit(UINT8 *pSend, UINT32 sendLen, UINT8 *pRead, UINT32 readLen,
|
|
|
{
|
|
|
UartBuffer UartData;
|
|
|
osStatus_t ret = osMessageQueueGet(uartDataHandle, &UartData, 0, timeout);
|
|
|
- if (ret == osOK && readLen == UartData.len)
|
|
|
+ if (ret == osOK)
|
|
|
{
|
|
|
memcpy(pRead, (UINT8 *)&UartData, UartData.len);
|
|
|
CRC_Rece_buffer = *(pRead + UartData.len - 1) << 8 | *(pRead + UartData.len - 2);
|