mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
px4esc-v1 bootloader uses mfguid for hw_version unique_id
This commit is contained in:
committed by
Lorenz Meier
parent
23ecb78552
commit
050b909b20
@@ -167,8 +167,7 @@ size_t board_get_hardware_version(uavcan_HardwareVersion_t *hw_version)
|
||||
hw_version->major = HW_VERSION_MAJOR;
|
||||
hw_version->minor = HW_VERSION_MINOR;
|
||||
|
||||
board_get_uuid_raw((raw_uuid_byte_t *) hw_version->unique_id);
|
||||
return PX4_CPU_UUID_BYTE_LENGTH;
|
||||
return board_get_mfguid(*(mfguid_t *) hw_version->unique_id);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user