You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/12/01 20:01:48 UTC
[incubator-nuttx] 02/03: arch/stm32: Fix nxstyle errors
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 <59...@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);
}
}