forked from Archive/PX4-Autopilot
canbootloader:Fixed Warning
This commit is contained in:
parent
238c28d458
commit
271f87f8d2
|
@ -48,7 +48,7 @@ int board_get_mfguid(mfguid_t mfgid)
|
|||
uint32_t *chip_uuid = (uint32_t *) STM32_SYSMEM_UID;
|
||||
uint32_t *rv = (uint32_t *) &mfgid[0];
|
||||
|
||||
for (int i = 0; i < PX4_CPU_UUID_WORD32_LENGTH; i++) {
|
||||
for (unsigned int i = 0; i < PX4_CPU_UUID_WORD32_LENGTH; i++) {
|
||||
*rv++ = SWAP_UINT32(chip_uuid[(PX4_CPU_UUID_WORD32_LENGTH - 1) - i]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue