Skip to content

Commit

Permalink
dfu-d457: compilation with mf and rsusb
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
  • Loading branch information
dmipx committed May 28, 2024
1 parent 1a7ccf2 commit f588947
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mf/mf-backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ namespace librealsense
return devices;
}

std::vector<mipi_device_info> wmf_backend::query_mipi_devices() const
{
return std::vector<mipi_device_info>();
}

class win_event_device_watcher : public device_watcher
{
public:
Expand Down
3 changes: 3 additions & 0 deletions src/mf/mf-backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ namespace librealsense

std::shared_ptr<hid_device> create_hid_device(hid_device_info info) const override;
std::vector<hid_device_info> query_hid_devices() const override;

std::vector<hid_device_info> query_mipi_devices() const override;

std::shared_ptr<device_watcher> create_device_watcher() const override;
std::string get_device_serial(uint16_t device_vid, uint16_t device_pid, const std::string& device_uid) const override;

Expand Down
5 changes: 5 additions & 0 deletions src/rsusb-backend/rsusb-backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,10 @@ namespace librealsense
{
return query_hid_devices_info();
}

std::vector<mipi_device_info> rs_backend::query_mipi_devices() const
{
return std::vector<mipi_device_info>();
}
}
}
1 change: 1 addition & 0 deletions src/rsusb-backend/rsusb-backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ namespace librealsense
// Not supported
std::shared_ptr<hid_device> create_hid_device(hid_device_info info) const override;
std::vector<hid_device_info> query_hid_devices() const override;
std::vector<mipi_device_info> query_mipi_devices() const override;
};
}
}

0 comments on commit f588947

Please sign in to comment.