Skip to content

Commit

Permalink
Fix all typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Soren Ptak committed Aug 31, 2023
1 parent 9471920 commit ab48206
Show file tree
Hide file tree
Showing 84 changed files with 834 additions and 405 deletions.
763 changes: 596 additions & 167 deletions .github/.cSpellWords.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions MISRA.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ _Ref 11.4.2_
_Ref 11.4.3_

- MISRA Rule 11.4 warns about casting pointer to an integer and vice versa.
Here, the poiner to the starting byte of the packet is cast to an integer
Here, the pointer to the starting byte of the packet is cast to an integer
which is then used to see whether the pointer is well aligned or not. It is
not used to access any pointer values. Thus, this violation can be safely
suppressed.
Expand Down Expand Up @@ -188,7 +188,7 @@ _Ref 20.5.1_

_Ref 20.10.1_

- MISRA C-2012 Rule 20.10 warns against the use of ## concatination operator.
- MISRA C-2012 Rule 20.10 warns against the use of ## concatenation operator.
However, in this case, it must be used to support compile time assertions in
case the preprocessor does not suppport sizeof. This operation (assert) has no
runtime execution.
Expand Down
6 changes: 3 additions & 3 deletions source/FreeRTOS_ARP.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ static BaseType_t prvFindCacheEntry( const MACAddress_t * pxMACAddress,
eARPLookupResult_t eReturn = eARPCacheMiss;
uint32_t ulAddressToLookup = *( pulIPAddress );
NetworkEndPoint_t * pxEndPoint;
uint32_t ulOrginal = *pulIPAddress;
uint32_t ulOriginal = *pulIPAddress;

/* It is assumed that devices with the same netmask are on the same
* LAN and don't need a gateway. */
Expand Down Expand Up @@ -1084,10 +1084,10 @@ static BaseType_t prvFindCacheEntry( const MACAddress_t * pxMACAddress,
{
eReturn = prvCacheLookup( ulAddressToLookup, pxMACAddress, ppxEndPoint );

if( ( eReturn != eARPCacheHit ) || ( ulOrginal != ulAddressToLookup ) )
if( ( eReturn != eARPCacheHit ) || ( ulOriginal != ulAddressToLookup ) )
{
FreeRTOS_debug_printf( ( "ARP %xip %s using %xip\n",
( unsigned ) FreeRTOS_ntohl( ulOrginal ),
( unsigned ) FreeRTOS_ntohl( ulOriginal ),
( eReturn == eARPCacheHit ) ? "hit" : "miss",
( unsigned ) FreeRTOS_ntohl( ulAddressToLookup ) ) );
}
Expand Down
4 changes: 2 additions & 2 deletions source/FreeRTOS_DHCP.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
* It is enough to set 'EP_IPv4_SETTINGS.ulIPAddress'. */
*ipLOCAL_IP_ADDRESS_POINTER = EP_IPv4_SETTINGS.ulIPAddress;

iptraceDHCP_SUCCEDEED( EP_DHCPData.ulOfferedIPAddress );
iptraceDHCP_SUCCEEDED( EP_DHCPData.ulOfferedIPAddress );

/* DHCP failed, the default configured IP-address will be used
* Now call vIPNetworkUpCalls() to send the network-up event and
Expand Down Expand Up @@ -751,7 +751,7 @@
if( xARPHadIPClash == pdFALSE )
{
/* ARP OK. proceed. */
iptraceDHCP_SUCCEDEED( EP_DHCPData.ulOfferedIPAddress );
iptraceDHCP_SUCCEEDED( EP_DHCPData.ulOfferedIPAddress );

/* Auto-IP succeeded, the default configured IP-address will
* be used. Now call vIPNetworkUpCalls() to send the
Expand Down
2 changes: 1 addition & 1 deletion source/FreeRTOS_DHCPv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ static void vDHCPv6ProcessEndPoint_HandleReply( NetworkEndPoint_t * pxEndPoint,

EP_DHCPData.eDHCPState = eLeasedAddress;

iptraceDHCP_SUCCEDEED( EP_DHCPData.ulOfferedIPAddress );
iptraceDHCP_SUCCEEDED( EP_DHCPData.ulOfferedIPAddress );

/* Close socket to ensure packets don't queue on it. */
prvCloseDHCPv6Socket( pxEndPoint );
Expand Down
8 changes: 4 additions & 4 deletions source/FreeRTOS_DNS.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

#if ( ipconfigUSE_LLMNR == 1 )
/** @brief The MAC address used for LLMNR. */
const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
const MACAddress_t xLLMNR_MacAddress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
#endif /* ipconfigUSE_LLMNR == 1 */

/*-----------------------------------------------------------*/
Expand All @@ -123,7 +123,7 @@
/**
* @brief The IPv6 link-scope multicast MAC address
*/
const MACAddress_t xLLMNR_MacAdressIPv6 = { { 0x33, 0x33, 0x00, 0x01, 0x00, 0x03 } };
const MACAddress_t xLLMNR_MacAddressIPv6 = { { 0x33, 0x33, 0x00, 0x01, 0x00, 0x03 } };
#endif /* ipconfigUSE_LLMNR && ipconfigUSE_IPv6 */

#if ( ipconfigUSE_MDNS == 1 ) && ( ipconfigUSE_IPv6 != 0 )
Expand All @@ -150,13 +150,13 @@
* The MAC-addresses are provided here in case a network
* interface needs it.
*/
const MACAddress_t xMDNS_MACAdressIPv6 = { { 0x33, 0x33, 0x00, 0x00, 0x00, 0xFB } };
const MACAddress_t xMDNS_MACAddressIPv6 = { { 0x33, 0x33, 0x00, 0x00, 0x00, 0xFB } };
#endif /* ( ipconfigUSE_MDNS == 1 ) && ( ipconfigUSE_IPv6 != 0 ) */


#if ( ipconfigUSE_MDNS == 1 )
/** @brief The MAC address used for MDNS. */
const MACAddress_t xMDNS_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfb } };
const MACAddress_t xMDNS_MacAddress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfb } };
#endif /* ipconfigUSE_MDNS == 1 */

/** @brief This global variable is being used to indicate to the driver which IP type
Expand Down
10 changes: 5 additions & 5 deletions source/FreeRTOS_DNS_Parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,10 @@
{
pxAnswer = ( ( LLMNRAnswer_t * ) xSet.pucByte );
/* We leave 'usIdentifier' and 'usQuestions' untouched */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usFlags, dnsLLMNR_FLAGS_IS_REPONSE ); /* Set the response flag */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usAnswers, 1 ); /* Provide a single answer */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usAuthorityRRs, 0 ); /* No authority */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usAdditionalRRs, 0 ); /* No additional info */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usFlags, dnsLLMNR_FLAGS_IS_RESPONSE ); /* Set the response flag */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usAnswers, 1 ); /* Provide a single answer */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usAuthorityRRs, 0 ); /* No authority */
vSetField16( xSet.pxDNSMessageHeader, DNSMessage_t, usAdditionalRRs, 0 ); /* No additional info */

pxAnswer->ucNameCode = dnsNAME_IS_OFFSET;
pxAnswer->ucNameOffset = ( uint8_t ) ( xSet.pcRequestedName - ( char * ) pucNewBuffer );
Expand Down Expand Up @@ -1170,7 +1170,7 @@

if( xBufferAllocFixedSize == pdFALSE )
{
/* We're linked with BufferAlolocation_2.c
/* We're linked with BufferAllocation_2.c
* pxResizeNetworkBufferWithDescriptor() will malloc a new bigger buffer,
* and memcpy the data. The old buffer will be free'd.
*/
Expand Down
4 changes: 2 additions & 2 deletions source/FreeRTOS_IP.c
Original file line number Diff line number Diff line change
Expand Up @@ -1481,15 +1481,15 @@ eFrameProcessingResult_t eConsiderFrameForProcessing( const uint8_t * const pucE
}
else
#if ( ( ipconfigUSE_LLMNR == 1 ) && ( ipconfigUSE_DNS != 0 ) )
if( memcmp( xLLMNR_MacAdress.ucBytes, pxEthernetHeader->xDestinationAddress.ucBytes, sizeof( MACAddress_t ) ) == 0 )
if( memcmp( xLLMNR_MacAddress.ucBytes, pxEthernetHeader->xDestinationAddress.ucBytes, sizeof( MACAddress_t ) ) == 0 )
{
/* The packet is a request for LLMNR - process it. */
eReturn = eProcessBuffer;
}
else
#endif /* ipconfigUSE_LLMNR */
#if ( ( ipconfigUSE_MDNS == 1 ) && ( ipconfigUSE_DNS != 0 ) )
if( memcmp( xMDNS_MacAdress.ucBytes, pxEthernetHeader->xDestinationAddress.ucBytes, sizeof( MACAddress_t ) ) == 0 )
if( memcmp( xMDNS_MacAddress.ucBytes, pxEthernetHeader->xDestinationAddress.ucBytes, sizeof( MACAddress_t ) ) == 0 )
{
/* The packet is a request for MDNS - process it. */
eReturn = eProcessBuffer;
Expand Down
6 changes: 3 additions & 3 deletions source/FreeRTOS_ND.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,8 @@
pcReturn = "PACKET_TOO_BIG";
break;

case ipICMP_TIME_EXEEDED_IPv6:
pcReturn = "TIME_EXEEDED";
case ipICMP_TIME_EXCEEDED_IPv6:
pcReturn = "TIME_EXCEEDED";
break;

case ipICMP_PARAMETER_PROBLEM_IPv6:
Expand Down Expand Up @@ -962,7 +962,7 @@
{
case ipICMP_DEST_UNREACHABLE_IPv6:
case ipICMP_PACKET_TOO_BIG_IPv6:
case ipICMP_TIME_EXEEDED_IPv6:
case ipICMP_TIME_EXCEEDED_IPv6:
case ipICMP_PARAMETER_PROBLEM_IPv6:
/* These message types are not implemented. They are logged here above. */
break;
Expand Down
2 changes: 1 addition & 1 deletion source/FreeRTOS_RA.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@
/* Obtained configuration from a router. */
uxNewReloadTime = pdMS_TO_TICKS( 1000U * pxEndPoint->xRAData.ulPreferredLifeTime );
pxEndPoint->xRAData.eRAState = eRAStatePreLease;
iptraceRA_SUCCEDEED( &( pxEndPoint->ipv6_settings.xIPAddress ) );
iptraceRA_SUCCEEDED( &( pxEndPoint->ipv6_settings.xIPAddress ) );
FreeRTOS_printf( ( "RA: succeeded, using IP address %pip Reload after %u seconds\n",
( void * ) pxEndPoint->ipv6_settings.xIPAddress.ucBytes,
( unsigned ) pxEndPoint->xRAData.ulPreferredLifeTime ) );
Expand Down
10 changes: 5 additions & 5 deletions source/FreeRTOS_TCP_WIN.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@
xTCPSegments = NULL;
}
}
#endif /* ipconfgiUSE_TCP_WIN == 1 */
#endif /* ipconfigUSE_TCP_WIN == 1 */
/*-----------------------------------------------------------*/

/*=============================================================================
Expand Down Expand Up @@ -983,7 +983,7 @@

return pxBest;
}
#endif /* ipconfgiUSE_TCP_WIN == 1 */
#endif /* ipconfigUSE_TCP_WIN == 1 */
/*-----------------------------------------------------------*/

#if ( ipconfigUSE_TCP_WIN == 1 )
Expand Down Expand Up @@ -1059,7 +1059,7 @@

pxWindow->rx.ulCurrentSequenceNumber = ulCurrentSequenceNumber;
}
#endif /* ipconfgiUSE_TCP_WIN == 1 */
#endif /* ipconfigUSE_TCP_WIN == 1 */
/*-----------------------------------------------------------*/

#if ( ipconfigUSE_TCP_WIN == 1 )
Expand Down Expand Up @@ -1170,7 +1170,7 @@

return lReturn;
}
#endif /* ipconfgiUSE_TCP_WIN == 1 */
#endif /* ipconfigUSE_TCP_WIN == 1 */
/*-----------------------------------------------------------*/

#if ( ipconfigUSE_TCP_WIN == 1 )
Expand Down Expand Up @@ -1300,7 +1300,7 @@

return lReturn;
}
#endif /* ipconfgiUSE_TCP_WIN == 1 */
#endif /* ipconfigUSE_TCP_WIN == 1 */
/*-----------------------------------------------------------*/

/*=============================================================================
Expand Down
8 changes: 4 additions & 4 deletions source/include/FreeRTOS_DNS.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ uint32_t ulDNSHandlePacket( const NetworkBufferDescriptor_t * pxNetworkBuffer );

#if ( ipconfigUSE_LLMNR == 1 )
/* The LLMNR MAC address is 01:00:5e:00:00:fc */
extern const MACAddress_t xLLMNR_MacAdress;
extern const MACAddress_t xLLMNR_MacAddress;
#endif /* ipconfigUSE_LLMNR */

#if ( ipconfigUSE_LLMNR == 1 ) && ( ipconfigUSE_IPv6 != 0 )
Expand All @@ -57,12 +57,12 @@ uint32_t ulDNSHandlePacket( const NetworkBufferDescriptor_t * pxNetworkBuffer );
extern const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6;

/* The LLMNR IPv6 MAC address is 33:33:00:01:00:03 */
extern const MACAddress_t xLLMNR_MacAdressIPv6;
extern const MACAddress_t xLLMNR_MacAddressIPv6;
#endif /* ipconfigUSE_LLMNR */

#if ( ipconfigUSE_MDNS == 1 )
/* The MDNS MAC address is 01:00:5e:00:00:fc */
extern const MACAddress_t xMDNS_MacAdress;
extern const MACAddress_t xMDNS_MacAddress;
#endif /* ipconfigUSE_MDNS */

#if ( ipconfigUSE_MDNS == 1 ) && ( ipconfigUSE_IPv6 != 0 )
Expand All @@ -71,7 +71,7 @@ uint32_t ulDNSHandlePacket( const NetworkBufferDescriptor_t * pxNetworkBuffer );
extern const IPv6_Address_t ipMDNS_IP_ADDR_IPv6;

/* The MDNS IPv6 MAC address is 33:33:00:01:00:03 */
extern const MACAddress_t xMDNS_MACAdressIPv6;
extern const MACAddress_t xMDNS_MACAddressIPv6;
#endif /* ipconfigUSE_MDNS */

/** @brief While doing integration tests, it is necessary to influence the choice
Expand Down
4 changes: 2 additions & 2 deletions source/include/FreeRTOS_DNS_Globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@

#ifndef _lint
/* LLMNR constants. */
#define dnsLLMNR_TTL_VALUE 300U /**< LLMNR time to live value of 5 minutes. */
#define dnsLLMNR_FLAGS_IS_REPONSE 0x8000U /**< LLMNR flag value for response. */
#define dnsLLMNR_TTL_VALUE 300U /**< LLMNR time to live value of 5 minutes. */
#define dnsLLMNR_FLAGS_IS_RESPONSE 0x8000U /**< LLMNR flag value for response. */
#endif /* _lint */

/* NBNS constants. */
Expand Down
2 changes: 1 addition & 1 deletion source/include/FreeRTOS_IPv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
/* Some IPv6 ICMP requests. */
#define ipICMP_DEST_UNREACHABLE_IPv6 ( ( uint8_t ) 1U )
#define ipICMP_PACKET_TOO_BIG_IPv6 ( ( uint8_t ) 2U )
#define ipICMP_TIME_EXEEDED_IPv6 ( ( uint8_t ) 3U )
#define ipICMP_TIME_EXCEEDED_IPv6 ( ( uint8_t ) 3U )
#define ipICMP_PARAMETER_PROBLEM_IPv6 ( ( uint8_t ) 4U )
#define ipICMP_PING_REQUEST_IPv6 ( ( uint8_t ) 128U )
#define ipICMP_PING_REPLY_IPv6 ( ( uint8_t ) 129U )
Expand Down
8 changes: 4 additions & 4 deletions source/include/IPTraceMacroDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,16 @@
#define iptraceSENDING_DHCP_REQUEST()
#endif

#ifndef iptraceDHCP_SUCCEDEED
#define iptraceDHCP_SUCCEDEED( address )
#ifndef iptraceDHCP_SUCCEEDED
#define iptraceDHCP_SUCCEEDED( address )
#endif

#ifndef iptraceRA_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS
#define iptraceRA_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ipv6_address )
#endif

#ifndef iptraceRA_SUCCEDEED
#define iptraceRA_SUCCEDEED( ipv6_address )
#ifndef iptraceRA_SUCCEEDED
#define iptraceRA_SUCCEEDED( ipv6_address )
#endif

#ifndef iptraceNETWORK_INTERFACE_TRANSMIT
Expand Down
2 changes: 1 addition & 1 deletion source/portable/BufferManagement/BufferAllocation_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

/* Compile time assertion with zero runtime effects
* it will assert on 'e' not being zero, as it tries to divide by it,
* will also print the line where the error occured in case of failure */
* will also print the line where the error occurred in case of failure */
/* MISRA Ref 20.10.1 [Lack of sizeof operator and compile time error checking] */
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/MISRA.md#rule-2010 */
/* coverity[misra_c_2012_rule_20_10_violation] */
Expand Down
2 changes: 1 addition & 1 deletion source/portable/Compiler/CompilerName/ReadMe.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Update pack_struct_start.h and pack_struct_end.h for your architecure.
Update pack_struct_start.h and pack_struct_end.h for your architecture.
These files define the specifiers needed by your compiler to properly pack struct data
need by FreeRTOS+TCP.
8 changes: 4 additions & 4 deletions source/portable/NetworkInterface/ATSAM4E/component/gmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@
#define GMAC_DCFGR_ESPA ( 0x1u << 7 ) /**< \brief (GMAC_DCFGR) Endian Swap Mode Enable for Packet Data Accesses */
#define GMAC_DCFGR_RXBMS_Pos 8
#define GMAC_DCFGR_RXBMS_Msk ( 0x3u << GMAC_DCFGR_RXBMS_Pos ) /**< \brief (GMAC_DCFGR) Receiver Packet Buffer Memory Size Select */
#define GMAC_DCFGR_RXBMS_EIGHTH ( 0x0u << 8 ) /**< \brief (GMAC_DCFGR) 1 Kbyte Memory Size */
#define GMAC_DCFGR_RXBMS_QUARTER ( 0x1u << 8 ) /**< \brief (GMAC_DCFGR) 2 Kbytes Memory Size */
#define GMAC_DCFGR_RXBMS_HALF ( 0x2u << 8 ) /**< \brief (GMAC_DCFGR) 4 Kbytes Memory Size */
#define GMAC_DCFGR_RXBMS_FULL ( 0x3u << 8 ) /**< \brief (GMAC_DCFGR) 8 Kbytes Memory Size */
#define GMAC_DCFGR_RXBMS_EIGHTH ( 0x0u << 8 ) /**< \brief (GMAC_DCFGR) 1 KByte Memory Size */
#define GMAC_DCFGR_RXBMS_QUARTER ( 0x1u << 8 ) /**< \brief (GMAC_DCFGR) 2 KBytes Memory Size */
#define GMAC_DCFGR_RXBMS_HALF ( 0x2u << 8 ) /**< \brief (GMAC_DCFGR) 4 KBytes Memory Size */
#define GMAC_DCFGR_RXBMS_FULL ( 0x3u << 8 ) /**< \brief (GMAC_DCFGR) 8 KBytes Memory Size */
#define GMAC_DCFGR_TXPBMS ( 0x1u << 10 ) /**< \brief (GMAC_DCFGR) Transmitter Packet Buffer Memory Size Select */
#define GMAC_DCFGR_TXCOEN ( 0x1u << 11 ) /**< \brief (GMAC_DCFGR) Transmitter Checksum Generation Offload Enable */
#define GMAC_DCFGR_DRBS_Pos 16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ static void prvGMACInit()
{
uint8_t ucMACAddressLLMNRIPv6[ ipMAC_ADDRESS_LENGTH_BYTES ];
/* Avoid warning */
memcpy( ucMACAddressLLMNRIPv6, xLLMNR_MacAdressIPv6.ucBytes, ipMAC_ADDRESS_LENGTH_BYTES );
memcpy( ucMACAddressLLMNRIPv6, xLLMNR_MacAddressIPv6.ucBytes, ipMAC_ADDRESS_LENGTH_BYTES );
mac_async_set_filter_ex( &ETH_MAC, ucMACAddressLLMNRIPv6 );
}
#endif /* ipconfigUSE_LLMNR */
Expand Down
4 changes: 2 additions & 2 deletions source/portable/NetworkInterface/DriverSAM/NetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface )

#if ( ipconfigUSE_LLMNR == 1 )
{
prvAddMulticastMACAddress( xLLMNR_MacAdress.ucBytes );
prvAddMulticastMACAddress( xLLMNR_MacAddress.ucBytes );
}
#endif /* ipconfigUSE_LLMNR */

Expand All @@ -720,7 +720,7 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface )
NetworkEndPoint_t * pxEndPoint;
#if ( ipconfigUSE_LLMNR == 1 )
{
prvAddMulticastMACAddress( xLLMNR_MacAdressIPv6.ucBytes );
prvAddMulticastMACAddress( xLLMNR_MacAddressIPv6.ucBytes );
}
#endif /* ipconfigUSE_LLMNR */

Expand Down
2 changes: 1 addition & 1 deletion source/portable/NetworkInterface/DriverSAM/gmac_SAM.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ void gmac_dev_init( Gmac * p_gmac,
#if ( SAME70 != 0 )
{
/* Transmitter Packet Buffer Memory Size Select:
* Use full configured addressable space (4 Kbytes). */
* Use full configured addressable space (4 KBytes). */
ulValue |= GMAC_DCFGR_TXPBMS;
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion source/portable/NetworkInterface/DriverSAM/gmac_SAM.h
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@
}

/**
* \brief Set screening type 2 eherType register.
* \brief Set screening type 2 etherType register.
*
* \param p_gmac Pointer to the GMAC instance.
* \param ethertype Ethertype compare value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ static BaseType_t xMPS2_NetworkInterfaceOutput( NetworkInterface_t * pxInterface
else
{
xReturn = pdFAIL;
FreeRTOS_debug_printf( ( "Error send by chuncks: %d\n",
FreeRTOS_debug_printf( ( "Error send by chunks: %d\n",
error ) );
}
}
Expand Down
Loading

0 comments on commit ab48206

Please sign in to comment.