修复代码错误

This commit is contained in:
nhkefus
2025-03-11 14:10:51 +08:00
parent a7f6e9379a
commit 3422912129
576 changed files with 39303 additions and 1012 deletions

View File

@@ -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. */