Skip to content

Commit a8d2063

Browse files
committed
fix formatting
1 parent 285fbda commit a8d2063

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/portable/NetworkInterface/DriverSAM/NetworkInterface.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,11 @@ static BaseType_t prvSAM_NetworkInterfaceOutput( NetworkInterface_t * pxInterfac
652652
{
653653
TX_STAT_INCREMENT( tx_write_fail );
654654

655-
/* On a successful write to GMAC, the ownership of the TX descriptor will eventually get returned back to the network
656-
* driver and prvEMACHandlerTask will give back the xTXDescriptorSemaphore counting semaphore. In this case however,
657-
* writing to the GMAC failed, so there will be no EMAC_IF_TX_EVENT sent to prvEMACHandlerTask and the counting
658-
* semaphore will not be given back. Give it back now. */
659-
xSemaphoreGive( xTXDescriptorSemaphore );
655+
/* On a successful write to GMAC, the ownership of the TX descriptor will eventually get returned back to the network
656+
* driver and prvEMACHandlerTask will give back the xTXDescriptorSemaphore counting semaphore. In this case however,
657+
* writing to the GMAC failed, so there will be no EMAC_IF_TX_EVENT sent to prvEMACHandlerTask and the counting
658+
* semaphore will not be given back. Give it back now. */
659+
xSemaphoreGive( xTXDescriptorSemaphore );
660660
}
661661

662662
#if ( ipconfigZERO_COPY_TX_DRIVER != 0 )

0 commit comments

Comments
 (0)