Skip to content

Commit

Permalink
clang-format bot reformatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Jun 20, 2024
1 parent 3a2465d commit eb4da91
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Libraries/PeriphDrivers/Source/SYS/sys_me12.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ int MXC_SYS_GetUSN(uint8_t *usn, uint8_t *checksum)
// Set NULL Key
MXC_AES_SetExtKey((const void *)aes_key, MXC_AES_128BITS);

uint8_t usn_copy[MXC_SYS_USN_LEN] = {0};
uint8_t usn_copy[MXC_SYS_USN_LEN] = { 0 };
memcpy(usn_copy, usn, MXC_SYS_USN_LEN);
// Compute Checksum
mxc_aes_req_t aes_req;
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Source/SYS/sys_me15.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ int MXC_SYS_GetUSN(uint8_t *usn, uint8_t *checksum)
// Set NULL Key
MXC_AES_SetExtKey((const void *)aes_key, MXC_AES_128BITS);

uint8_t usn_copy[MXC_SYS_USN_LEN] = {0};
uint8_t usn_copy[MXC_SYS_USN_LEN] = { 0 };
memcpy(usn_copy, usn, MXC_SYS_USN_LEN);

// Compute Checksum
mxc_aes_req_t aes_req;
aes_req.length = MXC_SYS_USN_CHECKSUM_LEN / 4;
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Source/SYS/sys_me17.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ int MXC_SYS_GetUSN(uint8_t *usn, uint8_t *checksum)
// Set NULL Key
MXC_AES_SetExtKey((const void *)aes_key, MXC_AES_128BITS);

uint8_t usn_copy[MXC_SYS_USN_LEN] = {0};
uint8_t usn_copy[MXC_SYS_USN_LEN] = { 0 };
memcpy(usn_copy, usn, MXC_SYS_USN_LEN);

// Compute Checksum
mxc_aes_req_t aes_req;
aes_req.length = MXC_SYS_USN_CHECKSUM_LEN / 4;
Expand Down
2 changes: 1 addition & 1 deletion Libraries/PeriphDrivers/Source/SYS/sys_me21.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int MXC_SYS_GetUSN(uint8_t *usn, uint8_t *checksum)
// Set NULL Key
MXC_AES_SetExtKey((const void *)aes_key, MXC_AES_128BITS);

uint8_t usn_copy[MXC_SYS_USN_LEN] = {0};
uint8_t usn_copy[MXC_SYS_USN_LEN] = { 0 };
memcpy(usn_copy, usn, MXC_SYS_USN_LEN);

// Compute Checksum
Expand Down

0 comments on commit eb4da91

Please sign in to comment.