This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4dd19a5bdd704458eba9c3662acc0baaddc19a2a
Author: Darryl Ring <[email protected]>
AuthorDate: Mon Oct 26 10:21:46 2026 -0700

    arch/arm/stm32h5: Fix comment formatting issues
    
    Catching strays.
    
    Signed-off-by: Darryl Ring <[email protected]>
---
 arch/arm/src/stm32h5/stm32_fdcan.c | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/arch/arm/src/stm32h5/stm32_fdcan.c 
b/arch/arm/src/stm32h5/stm32_fdcan.c
index 65d0a81b512..2392a64154e 100644
--- a/arch/arm/src/stm32h5/stm32_fdcan.c
+++ b/arch/arm/src/stm32h5/stm32_fdcan.c
@@ -765,6 +765,7 @@ static uint32_t fdcan_getreg(struct stm32_fdcan_s *priv, 
int offset)
 static uint32_t fdcan_getreg(struct stm32_fdcan_s *priv, int offset)
 {
   const struct stm32_config_s *config = priv->config;
+
   return getreg32(config->base + offset);
 }
 
@@ -807,6 +808,7 @@ static void fdcan_putreg(struct stm32_fdcan_s *priv, int 
offset,
                          uint32_t regval)
 {
   const struct stm32_config_s *config = priv->config;
+
   putreg32(regval, config->base + offset);
 }
 
@@ -1197,12 +1199,12 @@ static int fdcan_add_extfilter(struct stm32_fdcan_s 
*priv,
               regval |= (FDCAN_CCCR_INIT | FDCAN_CCCR_CCE);
               fdcan_putreg(priv, STM32_FDCAN_CCCR_OFFSET, regval);
 
-             /* Update the Global Filter Configuration so that received
-              * messages are rejected if they do not match the acceptance
-              * filter.
-              *
-              *   ANFE=2: Discard all rejected frames
-              */
+              /* Update the Global Filter Configuration so that received
+               * messages are rejected if they do not match the acceptance
+               * filter.
+               *
+               *   ANFE=2: Discard all rejected frames
+               */
 
               regval  = fdcan_getreg(priv, STM32_FDCAN_RXGFC_OFFSET);
               regval &= ~FDCAN_RXGFC_ANFE_MASK;
@@ -1447,12 +1449,12 @@ static int fdcan_add_stdfilter(struct stm32_fdcan_s 
*priv,
               regval |= (FDCAN_CCCR_INIT | FDCAN_CCCR_CCE);
               fdcan_putreg(priv, STM32_FDCAN_CCCR_OFFSET, regval);
 
-             /* Update the Global Filter Configuration so that received
-              * messages are rejected if they do not match the acceptance
-              * filter.
-              *
-              *   ANFS=2: Discard all rejected frames
-              */
+              /* Update the Global Filter Configuration so that received
+               * messages are rejected if they do not match the acceptance
+               * filter.
+               *
+               *   ANFS=2: Discard all rejected frames
+               */
 
               regval  = fdcan_getreg(priv, STM32_FDCAN_RXGFC_OFFSET);
               regval &= ~FDCAN_RXGFC_ANFS_MASK;

Reply via email to