Skip to content

Commit

Permalink
Merge pull request #12 from Mixaill/fix/loopback
Browse files Browse the repository at this point in the history
remove xCheckLoopback() usage
  • Loading branch information
HTRamsey committed Feb 16, 2024
2 parents 99c8c03 + 6bda6e0 commit 7cf8996
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions source/portable/NetworkInterface/STM32/NetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,16 +590,6 @@ static BaseType_t prvNetworkInterfaceOutput( NetworkInterface_t * pxInterface,
break;
}

if( xCheckLoopback( pxDescriptor, xReleaseAfterSend ) != pdFALSE )
{
/* The packet has been sent back to the IP-task.
* The IP-task will further handle it.
* Do not release the descriptor. */
xReleaseAfterSend = pdFALSE;
FreeRTOS_debug_printf( ( "xNetworkInterfaceOutput: Loopback\n" ) );
break;
}

if( prvGetPhyLinkStatus( pxInterface ) == pdFALSE )
{
FreeRTOS_debug_printf( ( "xNetworkInterfaceOutput: Link Down\n" ) );
Expand Down

0 comments on commit 7cf8996

Please sign in to comment.