-
-
Notifications
You must be signed in to change notification settings - Fork 827
Open
Milestone
Description
Hi,
When working on samx5x.c file i have tried to format it using clang-format. But this failed lint phase of the PR workflow.
Clang-format wanted this change:
[robot@robot-work blackmagic]$ python run-clang-format.py --style="file:.clang-format" ./src/target/samx5x.c
--- ./src/target/samx5x.c (original)
+++ ./src/target/samx5x.c (reformatted)
@@ -141,7 +141,7 @@
/* Non-Volatile Memory Calibration and Auxiliary Registers */
#define SAMX5X_NVM_USER_PAGE UINT32_C(0x00804000)
#define SAMX5X_NVM_CALIBRATION UINT32_C(0x00800000)
-#define SAMX5X_NVM_SERIAL(n) (UINT32_C(0x0080600c) + ((n) == 0 ? 0x1f0U : (n)*4U))
+#define SAMX5X_NVM_SERIAL(n) (UINT32_C(0x0080600c) + ((n) == 0 ? 0x1f0U : (n) * 4U))
#define SAMX5X_USER_PAGE_OFFSET_LOCK 0x08U
#define SAMX5X_USER_PAGE_OFFSET_BOOTPROT 0x03U
Metadata
Metadata
Assignees
Labels
No labels