mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
s32k14x:canbootloader board_identity Return the same word ordering as s32k1xx/version/board_identity
This commit is contained in:
parent
a0491bfb9a
commit
01e9418310
@ -54,7 +54,7 @@ int board_get_mfguid(mfguid_t mfgid)
|
||||
uint32_t *rv = (uint32_t *) &mfgid[0];
|
||||
|
||||
for (unsigned int i = 0; i < PX4_CPU_UUID_WORD32_LENGTH; i++) {
|
||||
*rv++ = SWAP_UINT32(chip_uuid[(PX4_CPU_UUID_WORD32_LENGTH - 1) - i]);
|
||||
*rv++ = SWAP_UINT32(chip_uuid[i]);
|
||||
}
|
||||
|
||||
return PX4_CPU_MFGUID_BYTE_LENGTH;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user