Browse Source

kinetis:Fixed incorrect index populating px4_guid

sbg
David Sidrane 7 years ago committed by Beat Küng
parent
commit
03948c1ad3
  1. 2
      src/drivers/boards/common/kinetis/board_identity.c

2
src/drivers/boards/common/kinetis/board_identity.c

@ -110,7 +110,7 @@ int board_get_px4_guid(px4_guid_t px4_guid) @@ -110,7 +110,7 @@ int board_get_px4_guid(px4_guid_t px4_guid)
uint8_t *pb = (uint8_t *) &px4_guid[0];
*pb++ = (soc_arch_id >> 8) & 0xff;
*pb++ = (soc_arch_id & 0xff);
board_get_uuid(&px4_guid[4]);
board_get_uuid(pb);
return PX4_GUID_BYTE_LENGTH;
}

Loading…
Cancel
Save