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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4facd82  arch/stm32: Fix nxstyle errors
4facd82 is described below

commit 4facd82ae0bbf42744d3bb164af0727cf24458b0
Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com>
AuthorDate: Thu Dec 17 18:50:12 2020 -0500

    arch/stm32: Fix nxstyle errors
    
    arch/arm/src/stm32/stm32_ltdc.h:
    arch/arm/src/stm32/stm32_pmsleep.c:
    arch/arm/src/stm32/stm32_pmstandby.c:
    
        * Fix nxstyle issues.
---
 arch/arm/src/stm32/stm32_ltdc.h      | 8 ++++----
 arch/arm/src/stm32/stm32_pmsleep.c   | 4 ++--
 arch/arm/src/stm32/stm32_pmstandby.c | 4 +++-
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/arch/arm/src/stm32/stm32_ltdc.h b/arch/arm/src/stm32/stm32_ltdc.h
index 9058c47..795d2bc 100644
--- a/arch/arm/src/stm32/stm32_ltdc.h
+++ b/arch/arm/src/stm32/stm32_ltdc.h
@@ -49,7 +49,7 @@
 #include <nuttx/nx/nxglib.h>
 
 /****************************************************************************
- * Public Functions
+ * Public Function Prototypes
  ****************************************************************************/
 
 /****************************************************************************
@@ -62,7 +62,7 @@
 
 void stm32_ltdcreset(void);
 
-/*****************************************************************************
+/****************************************************************************
  * Name: stm32_ltdcinitialize
  *
  * Description:
@@ -75,7 +75,7 @@ void stm32_ltdcreset(void);
 
 int stm32_ltdcinitialize(void);
 
-/*****************************************************************************
+/****************************************************************************
  * Name: stm32_ltdcuninitialize
  *
  * Description:
@@ -85,7 +85,7 @@ int stm32_ltdcinitialize(void);
 
 void stm32_ltdcuninitialize(void);
 
-/*****************************************************************************
+/****************************************************************************
  * Name: stm32_ltdcgetvplane
  *
  * Description:
diff --git a/arch/arm/src/stm32/stm32_pmsleep.c 
b/arch/arm/src/stm32/stm32_pmsleep.c
index 3ea454f..c70cb52 100644
--- a/arch/arm/src/stm32/stm32_pmsleep.c
+++ b/arch/arm/src/stm32/stm32_pmsleep.c
@@ -74,8 +74,8 @@
  *   sleeponexit - true:  SLEEPONEXIT bit is set when the WFI instruction is
  *                        executed, the MCU enters Sleep mode as soon as it
  *                        exits the lowest priority ISR.
- *               - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep mode
- *                        as soon as WFI or WFE instruction is executed.
+ *               - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep
+ *                        mode as soon as WFI or WFE instruction is executed.
  * Returned Value:
  *   None
  *
diff --git a/arch/arm/src/stm32/stm32_pmstandby.c 
b/arch/arm/src/stm32/stm32_pmstandby.c
index bce280e..ef2488e 100644
--- a/arch/arm/src/stm32/stm32_pmstandby.c
+++ b/arch/arm/src/stm32/stm32_pmstandby.c
@@ -91,7 +91,9 @@ int stm32_pmstandby(void)
   regval |= PWR_CR_CWUF;
   putreg32(regval, STM32_PWR_CR);
 
-  /* Set the Power Down Deep Sleep (PDDS) bit in the power control register. */
+  /* Set the Power Down Deep Sleep (PDDS) bit in the power control
+   * register.
+   */
 
   regval |= PWR_CR_PDDS;
   putreg32(regval, STM32_PWR_CR);

Reply via email to