Skip to content

Commit d13f04f

Browse files
committed
Updated formatting
1 parent 4de2a1e commit d13f04f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

ports/mimxrt10xx/common-hal/microcontroller/Processor.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,12 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {
5959

6060
// Reads shadow registers 0x01 - 0x04 (Configuration and Manufacturing Info)
6161
// into 8 bit wide destination, avoiding punning.
62-
for (int i = 0; i < 4; ++i)
63-
{
64-
uint32_t wr = OCOTP_ReadFuseShadowRegister(OCOTP, i + 1);
65-
66-
for (int j = 0; j < 4; j++)
67-
{
68-
raw_id[i*4+j] = wr&0xff;
69-
wr>>=8;
70-
}
71-
}
72-
62+
for (int i = 0; i < 4; ++i) {
63+
uint32_t wr = OCOTP_ReadFuseShadowRegister(OCOTP, i + 1);
64+
for (int j = 0; j < 4; j++) {
65+
raw_id[i*4+j] = wr&0xff;
66+
wr>>=8;
67+
}
68+
}
7369
OCOTP_Deinit(OCOTP);
7470
}

0 commit comments

Comments
 (0)