mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-17 15:38:14 +08:00
修复代码错误
This commit is contained in:
@@ -518,6 +518,9 @@ xTimeOutType xTimeOut;
|
||||
{
|
||||
traceQUEUE_SEND( pxQueue );
|
||||
prvCopyDataToQueue( pxQueue, pvItemToQueue, xCopyPosition );
|
||||
#ifdef MXCHIP
|
||||
event_rx_cb(pxQueue);
|
||||
#endif
|
||||
/* If there was a task waiting for data to arrive on the
|
||||
queue then unblock it now. */
|
||||
if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToReceive ) ) == pdFALSE )
|
||||
@@ -533,9 +536,6 @@ xTimeOutType xTimeOut;
|
||||
}
|
||||
|
||||
taskEXIT_CRITICAL();
|
||||
#ifdef MXCHIP
|
||||
event_rx_cb(pxQueue);
|
||||
#endif
|
||||
|
||||
/* Return to the original privilege level before exiting the
|
||||
function. */
|
||||
|
||||
Reference in New Issue
Block a user