Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws committed Sep 24, 2024
1 parent 65a36cd commit 586def1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void vGMACGenerateChecksum( uint8_t * pucBuffer,
pxIPHeader->usHeaderChecksum = ~FreeRTOS_htons( pxIPHeader->usHeaderChecksum );

/* Calculate the TCP checksum for an outgoing packet. */
usGenerateProtocolChecksum( ( uint8_t * ) pucBuffer, pdTRUE );
usGenerateProtocolChecksum( ( uint8_t * ) pucBuffer, uxLength, pdTRUE );
}
}

Expand Down
2 changes: 1 addition & 1 deletion source/portable/NetworkInterface/ATSAM4E/gmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ uint32_t gmac_dev_read( gmac_device_t * p_gmac_dev,


extern void vGMACGenerateChecksum( uint8_t * pucBuffer,
size_t uxLength );
size_t uxLength );

/**
* \brief Send ulLength bytes from pcFrom. This copies the buffer to one of the
Expand Down

0 comments on commit 586def1

Please sign in to comment.