s32k14x:canbootloader board_identity Return the same word ordering as s32k1xx/version/board_identity

This commit is contained in:
David Sidrane 2023-10-20 06:55:38 -07:00 committed by David Sidrane
parent a0491bfb9a
commit 01e9418310

View File

@ -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;