8000 Merge branch 'alignment-warning' into rtsctsrs485 · adafruit/circuitpython@ff7684f · GitHub
[go: up one dir, main page]

Skip to content

Commit ff7684f

Browse files
committed
Merge branch 'alignment-warning' into rtsctsrs485
Incorporation of pre-comitted PR
2 parents 37f4197 + 77ad9af commit ff7684f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {
6262
for (int i = 0; i < 4; ++i) {
6363
uint32_t wr = OCOTP_ReadFuseShadowRegister(OCOTP, i + 1);
6464
for (int j = 0; j < 4; j++) {
65-
raw_id[i*4+j] = wr&0xff;
66-
wr>>=8;
65+
raw_id[i*4+j] = wr & 0xff;
66+
wr >>= 8;
6767
}
6868
}
6969
OCOTP_Deinit(OCOTP);

0 commit comments

Comments
 (0)
0