Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ActoryOu committed Jul 18, 2023
1 parent bd33fe7 commit 35ac013
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,9 @@ XStatus init_dma( xemacpsif_s * xemacpsif )
value |= XEMACPS_DMACR_TCPCKSUM_MASK;
#else
#if ( ipconfigPORT_SUPPRESS_WARNING != 0 )
#warning Are you sure the EMAC should not calculate outgoing checksums?
{
#warning Are you sure the EMAC should not calculate outgoing checksums?
}
#endif

value &= ~XEMACPS_DMACR_TCPCKSUM_MASK;
Expand All @@ -685,7 +687,9 @@ XStatus init_dma( xemacpsif_s * xemacpsif )
value |= XEMACPS_NWCFG_RXCHKSUMEN_MASK;
#else
#if ( ipconfigPORT_SUPPRESS_WARNING != 0 )
#warning Are you sure the EMAC should not calculate incoming checksums?
{
#warning Are you sure the EMAC should not calculate incoming checksums?
}
#endif

value &= ~( ( uint32_t ) XEMACPS_NWCFG_RXCHKSUMEN_MASK );
Expand Down

0 comments on commit 35ac013

Please sign in to comment.