Skip to content

Commit f664ee4

Browse files
committed
Running uncrustify
1 parent 579384d commit f664ee4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

source/portable/NetworkInterface/DriverSAM/NetworkInterface.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,10 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface )
687687
GMAC->GMAC_NCR |= GMAC_NCR_MPE;
688688

689689
memset( &gmac_option, '\0', sizeof( gmac_option ) );
690+
690691
/* Note that 'gmac_option.uc_copy_all_frame' is false, do not copy all frames.
691692
* And 'gmac_option.uc_no_boardcast' is false, meaning that broadcast is received.
692-
* 'boardcast' is a typo. */
693+
* 'boardcast' is a typo. */
693694
memcpy( gmac_option.uc_mac_addr, pxEndPoint->xMACAddress.ucBytes, sizeof( gmac_option.uc_mac_addr ) );
694695

695696
gs_gmac_dev.p_hw = GMAC;
@@ -1033,7 +1034,7 @@ static uint32_t prvEMACRxPoll( void )
10331034
if( xSendEventStructToIPTask( &xRxEvent, xBlockTime ) != pdTRUE )
10341035
{
10351036
/* xSendEventStructToIPTask() timed out. Release the descriptor. */
1036-
FreeRTOS_printf( ( "prvEMACRxPoll: Can not queue a packet!\n" ) );
1037+
FreeRTOS_printf( ( "prvEMACRxPoll: Can not queue a packet!\n" ) );
10371038
xRelease = pdTRUE;
10381039
}
10391040
}

source/portable/NetworkInterface/DriverSAM/gmac_SAM.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ uint32_t gmac_dev_read( gmac_device_t * p_gmac_dev,
646646
int32_t toCopy;
647647

648648
source = gs_uc_rx_buffer + nextIdx * GMAC_RX_UNITSIZE;
649-
/* Read +2 bytes because buffers are aligned at -2 bytes */
649+
/* Read +2 bytes because buffers are aligned at -2 bytes */
650650
left = min( bytesLeft + 2, ( int32_t ) ul_frame_size );
651651
toCopy = ( GMAC_RX_BUFFERS - nextIdx ) * GMAC_RX_UNITSIZE;
652652

source/portable/NetworkInterface/DriverSAM/gmac_SAM.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@
15471547
/*/ @cond 0 */
15481548
/**INDENT-OFF**/
15491549
#ifdef __cplusplus
1550-
}
1550+
}
15511551
#endif
15521552
/**INDENT-ON**/
15531553
/*/ @endcond */

0 commit comments

Comments
 (0)