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.
This commit is contained in:
Nathan Hartman 2020-12-17 18:50:12 -05:00 committed by Xiang Xiao
parent d42c5a0bf6
commit 4facd82ae0
3 changed files with 9 additions and 7 deletions

View File

@ -49,7 +49,7 @@
#include <nuttx/nx/nxglib.h> #include <nuttx/nx/nxglib.h>
/**************************************************************************** /****************************************************************************
* Public Functions * Public Function Prototypes
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
@ -62,7 +62,7 @@
void stm32_ltdcreset(void); void stm32_ltdcreset(void);
/***************************************************************************** /****************************************************************************
* Name: stm32_ltdcinitialize * Name: stm32_ltdcinitialize
* *
* Description: * Description:
@ -75,7 +75,7 @@ void stm32_ltdcreset(void);
int stm32_ltdcinitialize(void); int stm32_ltdcinitialize(void);
/***************************************************************************** /****************************************************************************
* Name: stm32_ltdcuninitialize * Name: stm32_ltdcuninitialize
* *
* Description: * Description:
@ -85,7 +85,7 @@ int stm32_ltdcinitialize(void);
void stm32_ltdcuninitialize(void); void stm32_ltdcuninitialize(void);
/***************************************************************************** /****************************************************************************
* Name: stm32_ltdcgetvplane * Name: stm32_ltdcgetvplane
* *
* Description: * Description:

View File

@ -74,8 +74,8 @@
* sleeponexit - true: SLEEPONEXIT bit is set when the WFI instruction is * sleeponexit - true: SLEEPONEXIT bit is set when the WFI instruction is
* executed, the MCU enters Sleep mode as soon as it * executed, the MCU enters Sleep mode as soon as it
* exits the lowest priority ISR. * exits the lowest priority ISR.
* - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep mode * - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep
* as soon as WFI or WFE instruction is executed. * mode as soon as WFI or WFE instruction is executed.
* Returned Value: * Returned Value:
* None * None
* *

View File

@ -91,7 +91,9 @@ int stm32_pmstandby(void)
regval |= PWR_CR_CWUF; regval |= PWR_CR_CWUF;
putreg32(regval, STM32_PWR_CR); 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; regval |= PWR_CR_PDDS;
putreg32(regval, STM32_PWR_CR); putreg32(regval, STM32_PWR_CR);