Skip to content

Commit 22105bc

Browse files
committed
Uncrustify: triggered by comment.
1 parent 4f4afd7 commit 22105bc

File tree

8 files changed

+145
-145
lines changed

8 files changed

+145
-145
lines changed

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2166,13 +2166,13 @@ STATIC_ASSERT( ipconfigSOCK_DEFAULT_SEND_BLOCK_TIME <= portMAX_DELAY );
21662166
/*
21672167
* pvPortMemCpyStreamBuffer
21682168
*
2169-
* Function to copy data into the stream buffer when sending
2169+
* Function to copy data into the stream buffer when sending
21702170
* and copy data from the stream buffer when receiving.
21712171
*/
21722172

2173-
#ifndef pvPortMemCpyStreamBuffer
2174-
#define pvPortMemCpyStreamBuffer( dst, src, count ) memcpy( dst, src, count )
2175-
#endif
2173+
#ifndef pvPortMemCpyStreamBuffer
2174+
#define pvPortMemCpyStreamBuffer( dst, src, count ) memcpy( dst, src, count )
2175+
#endif
21762176

21772177
/*---------------------------------------------------------------------------*/
21782178

source/portable/NetworkInterface/STM32/Drivers/F4/stm32f4xx_hal_eth.h

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
ChecksumOffload; /*!< Enables or Disable the checksum checking for received packet payloads TCP, UDP or ICMP headers */
238238

239239
uint32_t InterPacketGapVal; /*!< Sets the minimum IPG between Packet during transmission.
240-
* This parameter can be a value of @ref ETH_Inter_Packet_Gap */
240+
* This parameter can be a value of @ref ETH_Inter_Packet_Gap */
241241

242242
FunctionalState GiantPacketSizeLimitControl; /*!< Enables or disables the Giant Packet Size Limit Control. */
243243

@@ -290,9 +290,9 @@
290290

291291
uint32_t
292292
GiantPacketSizeLimit; /*!< Specifies the packet size that the MAC will declare it as Giant, If it's size is
293-
* greater than the value programmed in this field in units of bytes
294-
* This parameter must be a number between
295-
* Min_Data = 0x618 (1518 byte) and Max_Data = 0x3FFF (32 Kbyte). */
293+
* greater than the value programmed in this field in units of bytes
294+
* This parameter must be a number between
295+
* Min_Data = 0x618 (1518 byte) and Max_Data = 0x3FFF (32 Kbyte). */
296296

297297
FunctionalState ExtendedInterPacketGap; /*!< Enable or disables the extended inter packet gap. */
298298

@@ -305,9 +305,9 @@
305305
* This parameter can be a value of @ref ETH_Watchdog_Timeout */
306306

307307
uint32_t
308-
PauseTime; /*!< This field holds the value to be used in the Pause Time field in the transmit control packet.
309-
* This parameter must be a number between
310-
* Min_Data = 0x0 and Max_Data = 0xFFFF.*/
308+
PauseTime; /*!< This field holds the value to be used in the Pause Time field in the transmit control packet.
309+
* This parameter must be a number between
310+
* Min_Data = 0x0 and Max_Data = 0xFFFF.*/
311311

312312
FunctionalState
313313
ZeroQuantaPause; /*!< Enable or disables the automatic generation of Zero Quanta Pause Control packets.*/
@@ -444,7 +444,7 @@
444444
ETH_MediaInterfaceTypeDef MediaInterface; /*!< Selects the MII interface or the RMII interface. */
445445

446446
ETH_DMADescTypeDef
447-
* TxDesc; /*!< Provides the address of the first DMA Tx descriptor in the list */
447+
* TxDesc; /*!< Provides the address of the first DMA Tx descriptor in the list */
448448

449449
ETH_DMADescTypeDef
450450
* RxDesc; /*!< Provides the address of the first DMA Rx descriptor in the list */
@@ -463,23 +463,23 @@
463463
*/
464464
typedef struct
465465
{
466-
uint32_t Timestamp; /*!< Enable Timestamp */
467-
uint32_t TimestampUpdateMode; /*!< Fine or Coarse Timestamp Update */
468-
uint32_t TimestampInitialize; /*!< Initialize Timestamp */
469-
uint32_t TimestampUpdate; /*!< Timestamp Update */
470-
uint32_t TimestampAddendUpdate; /*!< Timestamp Addend Update */
471-
uint32_t TimestampAll; /*!< Enable Timestamp for All Packets */
472-
uint32_t TimestampRolloverMode; /*!< Timestamp Digital or Binary Rollover Control */
473-
uint32_t TimestampV2; /*!< Enable PTP Packet Processing for Version 2 Format */
474-
uint32_t TimestampEthernet; /*!< Enable Processing of PTP over Ethernet Packets */
475-
uint32_t TimestampIPv6; /*!< Enable Processing of PTP Packets Sent over IPv6-UDP */
476-
uint32_t TimestampIPv4; /*!< Enable Processing of PTP Packets Sent over IPv4-UDP */
477-
uint32_t TimestampEvent; /*!< Enable Timestamp Snapshot for Event Messages */
478-
uint32_t TimestampMaster; /*!< Enable Timestamp Snapshot for Event Messages */
479-
uint32_t TimestampFilter; /*!< Enable MAC Address for PTP Packet Filtering */
480-
uint32_t TimestampClockType; /*!< Time stamp clock node type */
481-
uint32_t TimestampAddend; /*!< Timestamp addend value */
482-
uint32_t TimestampSubsecondInc; /*!< Subsecond Increment */
466+
uint32_t Timestamp; /*!< Enable Timestamp */
467+
uint32_t TimestampUpdateMode; /*!< Fine or Coarse Timestamp Update */
468+
uint32_t TimestampInitialize; /*!< Initialize Timestamp */
469+
uint32_t TimestampUpdate; /*!< Timestamp Update */
470+
uint32_t TimestampAddendUpdate; /*!< Timestamp Addend Update */
471+
uint32_t TimestampAll; /*!< Enable Timestamp for All Packets */
472+
uint32_t TimestampRolloverMode; /*!< Timestamp Digital or Binary Rollover Control */
473+
uint32_t TimestampV2; /*!< Enable PTP Packet Processing for Version 2 Format */
474+
uint32_t TimestampEthernet; /*!< Enable Processing of PTP over Ethernet Packets */
475+
uint32_t TimestampIPv6; /*!< Enable Processing of PTP Packets Sent over IPv6-UDP */
476+
uint32_t TimestampIPv4; /*!< Enable Processing of PTP Packets Sent over IPv4-UDP */
477+
uint32_t TimestampEvent; /*!< Enable Timestamp Snapshot for Event Messages */
478+
uint32_t TimestampMaster; /*!< Enable Timestamp Snapshot for Event Messages */
479+
uint32_t TimestampFilter; /*!< Enable MAC Address for PTP Packet Filtering */
480+
uint32_t TimestampClockType; /*!< Time stamp clock node type */
481+
uint32_t TimestampAddend; /*!< Timestamp addend value */
482+
uint32_t TimestampSubsecondInc; /*!< Subsecond Increment */
483483
} ETH_PTP_ConfigTypeDef;
484484

485485
/**
@@ -499,7 +499,7 @@
499499
/**
500500
* @brief HAL ETH Rx Get Buffer Function definition
501501
*/
502-
typedef void (* pETH_rxAllocateCallbackTypeDef)( uint8_t ** buffer );/*!< pointer to an ETH Rx Get Buffer Function */
502+
typedef void (* pETH_rxAllocateCallbackTypeDef)( uint8_t ** buffer ); /*!< pointer to an ETH Rx Get Buffer Function */
503503

504504
/**
505505
*
@@ -520,7 +520,7 @@
520520
/**
521521
* @brief HAL ETH Tx Free Function definition
522522
*/
523-
typedef void (* pETH_txFreeCallbackTypeDef)( uint32_t * buffer );/*!< pointer to an ETH Tx Free function */
523+
typedef void (* pETH_txFreeCallbackTypeDef)( uint32_t * buffer ); /*!< pointer to an ETH Tx Free function */
524524

525525
/**
526526
*
@@ -545,26 +545,26 @@
545545
typedef struct
546546
#endif /* USE_HAL_ETH_REGISTER_CALLBACKS */
547547
{
548-
ETH_TypeDef * Instance; /*!< Register base address */
548+
ETH_TypeDef * Instance; /*!< Register base address */
549549

550-
ETH_InitTypeDef Init; /*!< Ethernet Init Configuration */
550+
ETH_InitTypeDef Init; /*!< Ethernet Init Configuration */
551551

552-
ETH_TxDescListTypeDef TxDescList; /*!< Tx descriptor wrapper: holds all Tx descriptors list
553-
* addresses and current descriptor index */
552+
ETH_TxDescListTypeDef TxDescList; /*!< Tx descriptor wrapper: holds all Tx descriptors list
553+
* addresses and current descriptor index */
554554

555-
ETH_RxDescListTypeDef RxDescList; /*!< Rx descriptor wrapper: holds all Rx descriptors list
556-
* addresses and current descriptor index */
555+
ETH_RxDescListTypeDef RxDescList; /*!< Rx descriptor wrapper: holds all Rx descriptors list
556+
* addresses and current descriptor index */
557557

558558
#ifdef HAL_ETH_USE_PTP
559-
ETH_TimeStampTypeDef TxTimestamp; /*!< Tx Timestamp */
559+
ETH_TimeStampTypeDef TxTimestamp; /*!< Tx Timestamp */
560560
#endif /* HAL_ETH_USE_PTP */
561561

562-
__IO HAL_ETH_StateTypeDef gState; /*!< ETH state information related to global Handle management
563-
* and also related to Tx operations. This parameter can
564-
* be a value of @ref ETH_State_Codes */
562+
__IO HAL_ETH_StateTypeDef gState; /*!< ETH state information related to global Handle management
563+
* and also related to Tx operations. This parameter can
564+
* be a value of @ref ETH_State_Codes */
565565

566-
__IO uint32_t ErrorCode; /*!< Holds the global Error code of the ETH HAL status machine
567-
* This parameter can be a value of @ref ETH_Error_Code.*/
566+
__IO uint32_t ErrorCode; /*!< Holds the global Error code of the ETH HAL status machine
567+
* This parameter can be a value of @ref ETH_Error_Code.*/
568568

569569
__IO uint32_t
570570
DMAErrorCode; /*!< Holds the DMA Rx Tx Error code when a DMA AIS interrupt occurs
@@ -627,7 +627,7 @@
627627
/**
628628
* @brief HAL ETH Callback pointer definition
629629
*/
630-
typedef void (* pETH_CallbackTypeDef)( ETH_HandleTypeDef * heth );/*!< pointer to an ETH callback function */
630+
typedef void (* pETH_CallbackTypeDef)( ETH_HandleTypeDef * heth ); /*!< pointer to an ETH callback function */
631631

632632
#endif /* USE_HAL_ETH_REGISTER_CALLBACKS */
633633

@@ -855,7 +855,7 @@
855855
#define ETH_DMAPTPRXDESC_PTPMT_DELAYREQ 0x00000300U /* DelayReq message
856856
* (all clock types) */
857857
#define ETH_DMAPTPRXDESC_PTPMT_DELAYRESP 0x00000400U /* DelayResp message
858-
* (all clock types) */
858+
* (all clock types) */
859859
#define ETH_DMAPTPRXDESC_PTPMT_PDELAYREQ_ANNOUNCE 0x00000500U /* PdelayReq message
860860
* (peer-to-peer transparent clock)
861861
* or Announce message (Ordinary
@@ -875,9 +875,9 @@
875875
#define ETH_DMAPTPRXDESC_IPHE 0x00000008U /* IP Header Error */
876876
#define ETH_DMAPTPRXDESC_IPPT 0x00000007U /* IP Payload Type */
877877
#define ETH_DMAPTPRXDESC_IPPT_UDP 0x00000001U /* UDP payload encapsulated in
878-
* the IP datagram */
878+
* the IP datagram */
879879
#define ETH_DMAPTPRXDESC_IPPT_TCP 0x00000002U /* TCP payload encapsulated in
880-
* the IP datagram */
880+
* the IP datagram */
881881
#define ETH_DMAPTPRXDESC_IPPT_ICMP 0x00000003U /* ICMP payload encapsulated in
882882
* the IP datagram */
883883

source/portable/NetworkInterface/STM32/Drivers/F7/stm32f7xx_hal_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@
15311531
#endif /* HAL_ETH_USE_PTP */
15321532
/* Release the packet. */
15331533
heth->txFreeCallback( dmatxdesclist->PacketAddress[ idx ] );
1534-
#else /* if ( USE_HAL_ETH_REGISTER_CALLBACKS == 1 ) */
1534+
#else /* if ( USE_HAL_ETH_REGISTER_CALLBACKS == 1 ) */
15351535
/* Call callbacks */
15361536
#ifdef HAL_ETH_USE_PTP
15371537
/* Handle Ptp */

0 commit comments

Comments
 (0)