We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d13f04f commit 77ad9afCopy full SHA for 77ad9af
1 file changed
ports/mimxrt10xx/common-hal/microcontroller/Processor.c
@@ -62,8 +62,8 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {
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;
+ raw_id[i*4+j] = wr & 0xff;
+ wr >>= 8;
67
}
68
69
OCOTP_Deinit(OCOTP);
0 commit comments