mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:58:52 +08:00
esc35-v1 bootloader uses mfguid for hw_version unique_id
This commit is contained in:
committed by
Lorenz Meier
parent
a8706ad001
commit
278d6bb717
@@ -172,8 +172,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