mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 06:28:14 +08:00
修复代码错误
This commit is contained in:
@@ -643,7 +643,9 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
|
||||
{
|
||||
traceQUEUE_SEND( pxQueue );
|
||||
xYieldRequired = prvCopyDataToQueue( pxQueue, pvItemToQueue, xCopyPosition );
|
||||
|
||||
#ifdef MXCHIP
|
||||
event_rx_cb(pxQueue);
|
||||
#endif
|
||||
#if ( configUSE_QUEUE_SETS == 1 )
|
||||
{
|
||||
if( pxQueue->pxQueueSetContainer != NULL )
|
||||
@@ -728,9 +730,6 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
|
||||
#endif /* configUSE_QUEUE_SETS */
|
||||
|
||||
taskEXIT_CRITICAL();
|
||||
#ifdef MXCHIP
|
||||
event_rx_cb(pxQueue);
|
||||
#endif
|
||||
return pdPASS;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user