From 4facd82ae0bbf42744d3bb164af0727cf24458b0 Mon Sep 17 00:00:00 2001 From: Nathan Hartman <59230071+hartmannathan@users.noreply.github.com> Date: Thu, 17 Dec 2020 18:50:12 -0500 Subject: [PATCH] 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 9058c4724b..795d2bcf2f 100644 --- a/arch/arm/src/stm32/stm32_ltdc.h +++ b/arch/arm/src/stm32/stm32_ltdc.h @@ -49,7 +49,7 @@ #include /**************************************************************************** - * 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 3ea454f060..c70cb5243c 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 bce280e8ce..ef2488ea35 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);