Skip to content

Commit ca16127

Browse files
committed
Uncrustify: triggered by comment.
1 parent 0ed2fbb commit ca16127

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/portable/NetworkInterface/DriverSAM/NetworkInterface.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -742,18 +742,18 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface )
742742
}
743743
#endif /* ipconfigUSE_MDNS */
744744

745-
// Register the Link-Local All-Nodes address
746-
// FF02::1 --> 33-33-00-00-00-01
745+
/* Register the Link-Local All-Nodes address */
746+
/* FF02::1 --> 33-33-00-00-00-01 */
747747
uint8_t pcLOCAL_ALL_NODES_MULTICAST_MAC[ ipMAC_ADDRESS_LENGTH_BYTES ] = { 0x33, 0x33, 0x00, 0x00, 0x00, 0x01 };
748-
prvAddMulticastMACAddress(pcLOCAL_ALL_NODES_MULTICAST_MAC);
748+
prvAddMulticastMACAddress( pcLOCAL_ALL_NODES_MULTICAST_MAC );
749749

750750
for( pxEndPoint = FreeRTOS_FirstEndPoint( pxMyInterface );
751751
pxEndPoint != NULL;
752752
pxEndPoint = FreeRTOS_NextEndPoint( pxMyInterface, pxEndPoint ) )
753753
{
754754
if( pxEndPoint->bits.bIPv6 != pdFALSE_UNSIGNED )
755755
{
756-
// Since this is an IPv6 end point, add the solicited-node MAC address.
756+
/* Since this is an IPv6 end point, add the solicited-node MAC address. */
757757
uint8_t ucMACAddress[ 6 ] = { 0x33, 0x33, 0xff, 0, 0, 0 };
758758

759759
ucMACAddress[ 3 ] = pxEndPoint->ipv6_settings.xIPAddress.ucBytes[ 13 ];
@@ -800,9 +800,9 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface )
800800
}
801801
/*-----------------------------------------------------------*/
802802

803-
#define GMAC_ADDRESS_HASH_BITS ( 64U )
804-
#define GMAC_ADDRESS_HASH_MASK ( GMAC_ADDRESS_HASH_BITS - 1 )
805-
#define GMAC_ADDRESS_HASH_COUNTERS_MAX_VALUE ( 255U )
803+
#define GMAC_ADDRESS_HASH_BITS ( 64U )
804+
#define GMAC_ADDRESS_HASH_MASK ( GMAC_ADDRESS_HASH_BITS - 1 )
805+
#define GMAC_ADDRESS_HASH_COUNTERS_MAX_VALUE ( 255U )
806806
static uint8_t prvAddressHashCounters[ GMAC_ADDRESS_HASH_BITS ] = { 0 };
807807
static uint64_t prvAddressHashBitMask = ( 0 );
808808

@@ -1159,9 +1159,9 @@ static uint32_t prvEMACRxPoll( void )
11591159
/*-----------------------------------------------------------*/
11601160

11611161
volatile UBaseType_t uxLastMinBufferCount = 0;
1162-
#if ( ipconfigCHECK_IP_QUEUE_SPACE != 0 )
1162+
#if ( ipconfigCHECK_IP_QUEUE_SPACE != 0 )
11631163
volatile UBaseType_t uxLastMinQueueSpace;
1164-
#endif
1164+
#endif
11651165
volatile UBaseType_t uxCurrentSemCount;
11661166
volatile UBaseType_t uxLowestSemCount;
11671167

0 commit comments

Comments
 (0)