Skip to content

Commit

Permalink
Remove xHigherPriorityTaskWoken (#1215)
Browse files Browse the repository at this point in the history
Remove xHigherPriorityTaskWoken flag

Signed-off-by: Gaurav Aggarwal <[email protected]>
  • Loading branch information
aggarg authored Dec 24, 2024
1 parent 3d2676a commit fbb668a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -661,16 +661,13 @@ static THREAD_RETURN THREAD_FUNC_DEF vTransmitThread( void * pvParameters )

while( xMessageBufferIsEmpty( pxCtx->xSendMsgBuffer ) == pdFALSE )
{
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
size_t uxFrameLen = xMessageBufferReceiveFromISR( pxCtx->xSendMsgBuffer, ucFrameSendBuffer, sizeof( ucFrameSendBuffer ), &xHigherPriorityTaskWoken );
size_t uxFrameLen = xMessageBufferReceiveFromISR( pxCtx->xSendMsgBuffer, ucFrameSendBuffer, sizeof( ucFrameSendBuffer ), NULL );

vLockSlirpContext( pxCtx );
{
slirp_input( pxCtx->pxSlirp, ucFrameSendBuffer, uxFrameLen );
}
vUnlockSlirpContext( pxCtx );

portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
}
}

Expand Down

0 comments on commit fbb668a

Please sign in to comment.