diff options
| author | Dave Marples <dave@marples.net> | 2020-02-16 00:40:04 +0000 |
|---|---|---|
| committer | Dave Marples <dave@marples.net> | 2020-02-16 00:40:04 +0000 |
| commit | 77ad9aff3cd91d1f81f81ab7369fc5996277cdcd (patch) | |
| tree | a150cd4ac680da9e9dbf741619746b491ee2df47 | |
| parent | d13f04f9534813ab1c1d975350961bfc0f5b7f67 (diff) | |
Formatting updates
| -rw-r--r-- | ports/mimxrt10xx/common-hal/microcontroller/Processor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/mimxrt10xx/common-hal/microcontroller/Processor.c b/ports/mimxrt10xx/common-hal/microcontroller/Processor.c index fdec73f47..0c8131ef4 100644 --- a/ports/mimxrt10xx/common-hal/microcontroller/Processor.c +++ b/ports/mimxrt10xx/common-hal/microcontroller/Processor.c @@ -62,8 +62,8 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) { for (int i = 0; i < 4; ++i) { uint32_t wr = OCOTP_ReadFuseShadowRegister(OCOTP, i + 1); for (int j = 0; j < 4; j++) { - raw_id[i*4+j] = wr&0xff; - wr>>=8; + raw_id[i*4+j] = wr & 0xff; + wr >>= 8; } } OCOTP_Deinit(OCOTP); |
