Skip to content

Commit

Permalink
set d500 fw version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Dec 4, 2023
1 parent c7988d6 commit e4ad38a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ds/d500/d500-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <src/fourcc.h>

#include <rsutils/string/hexdump.h>
#include <rsutils/version.h>

#include <nlohmann/json.hpp>
#include <vector>
#include <string>
Expand Down Expand Up @@ -465,9 +467,7 @@ namespace librealsense
_device_capabilities = ds_caps::CAP_ACTIVE_PROJECTOR | ds_caps::CAP_RGB_SENSOR | ds_caps::CAP_IMU_SENSOR |
ds_caps::CAP_BMI_085 | ds_caps::CAP_GLOBAL_SHUTTER | ds_caps::CAP_INTERCAM_HW_SYNC;

// TODO Currently D500 version format does not match the expected format of rsutils::version
// This will need some special handling
//_fw_version = firmware_version(gvd_parsed_fields.fw_version);
_fw_version = rsutils::version(gvd_parsed_fields.fw_version);

auto _usb_mode = usb3_type;
usb_type_str = usb_spec_names.at(_usb_mode);
Expand Down

0 comments on commit e4ad38a

Please sign in to comment.