mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 17:43:34 +08:00
px4flow-v2 bootloader uses mfguid for hw_version unique_id
This commit is contained in:
committed by
Lorenz Meier
parent
050b909b20
commit
c52a8544c1
@@ -167,8 +167,7 @@ size_t board_get_hardware_version(uavcan_HardwareVersion_t *hw_version)
|
|||||||
hw_version->major = HW_VERSION_MAJOR;
|
hw_version->major = HW_VERSION_MAJOR;
|
||||||
hw_version->minor = HW_VERSION_MINOR;
|
hw_version->minor = HW_VERSION_MINOR;
|
||||||
|
|
||||||
board_get_uuid_raw((raw_uuid_byte_t *) hw_version->unique_id);
|
return board_get_mfguid(*(mfguid_t *) hw_version->unique_id);
|
||||||
return PX4_CPU_UUID_BYTE_LENGTH;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user