This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit b0026988655880d8bf9fbf0661f7f7582434966b Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com> AuthorDate: Tue Dec 1 12:12:40 2020 -0500 arch/stm32: Fix nxstyle errors arch/arm/src/stm32/stm32_uid.c: * Fix nxstyle errors. --- arch/arm/src/stm32/stm32_uid.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/src/stm32/stm32_uid.c b/arch/arm/src/stm32/stm32_uid.c index e008877..f4db968 100644 --- a/arch/arm/src/stm32/stm32_uid.c +++ b/arch/arm/src/stm32/stm32_uid.c @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/src/stm32/stm32_uid.c * * Copyright (C) 2015 Marawan Ragab. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> @@ -44,9 +44,9 @@ #ifdef STM32_SYSMEM_UID /* Not defined for the STM32L */ -/************************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************************/ + ****************************************************************************/ void stm32_get_uniqueid(uint8_t uniqueid[12]) { @@ -54,7 +54,7 @@ void stm32_get_uniqueid(uint8_t uniqueid[12]) for (i = 0; i < 12; i++) { - uniqueid[i] = *((uint8_t*)(STM32_SYSMEM_UID)+i); + uniqueid[i] = *((uint8_t *)(STM32_SYSMEM_UID) + i); } }