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 fa4926d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mf/mf-backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ namespace librealsense

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

class win_event_device_watcher : public device_watcher
{
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 nullptr;
}
}
}

0 comments on commit fa4926d

Please sign in to comment.