px4flow-v2 bootloader uses mfguid for hw_version unique_id

This commit is contained in:
David Sidrane 2017-01-30 12:54:21 -10:00 committed by Lorenz Meier
parent 050b909b20
commit c52a8544c1

View File

@ -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);
}
/****************************************************************************