Skip to content

Commit

Permalink
Uncrustify: triggered by comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 19, 2023
1 parent 0ed2fbb commit ca16127
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions source/portable/NetworkInterface/DriverSAM/NetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,18 +742,18 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface )
}
#endif /* ipconfigUSE_MDNS */

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

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

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

#define GMAC_ADDRESS_HASH_BITS ( 64U )
#define GMAC_ADDRESS_HASH_MASK ( GMAC_ADDRESS_HASH_BITS - 1 )
#define GMAC_ADDRESS_HASH_COUNTERS_MAX_VALUE ( 255U )
#define GMAC_ADDRESS_HASH_BITS ( 64U )
#define GMAC_ADDRESS_HASH_MASK ( GMAC_ADDRESS_HASH_BITS - 1 )
#define GMAC_ADDRESS_HASH_COUNTERS_MAX_VALUE ( 255U )
static uint8_t prvAddressHashCounters[ GMAC_ADDRESS_HASH_BITS ] = { 0 };
static uint64_t prvAddressHashBitMask = ( 0 );

Expand Down Expand Up @@ -1159,9 +1159,9 @@ static uint32_t prvEMACRxPoll( void )
/*-----------------------------------------------------------*/

volatile UBaseType_t uxLastMinBufferCount = 0;
#if ( ipconfigCHECK_IP_QUEUE_SPACE != 0 )
#if ( ipconfigCHECK_IP_QUEUE_SPACE != 0 )
volatile UBaseType_t uxLastMinQueueSpace;
#endif
#endif
volatile UBaseType_t uxCurrentSemCount;
volatile UBaseType_t uxLowestSemCount;

Expand Down

0 comments on commit ca16127

Please sign in to comment.