Skip to content

Commit

Permalink
d500 recovery pid removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Nov 15, 2023
1 parent c5f712e commit 24d14dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions src/ds/d500/d500-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace librealsense
namespace ds
{
const uint16_t D555E_PID = 0x0B56;
const uint16_t RS_D500_RECOVERY_PID = 0x0ADD;

namespace xu_id
{
Expand All @@ -38,8 +37,7 @@ namespace librealsense
};

static const std::map< std::uint16_t, std::string > rs500_sku_names = {
{ ds::D555E_PID, "Intel RealSense D555e" },
{ ds::RS_D500_RECOVERY_PID, "Intel RealSense D5XX Recovery"}
{ ds::D555E_PID, "Intel RealSense D555e" }
};

bool d500_try_fetch_usb_device(std::vector<platform::usb_device_info>& devices,
Expand Down
4 changes: 0 additions & 4 deletions src/fw-update/fw-update-factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ namespace librealsense
return RS2_PRODUCT_LINE_D400;
if( ds::RS_D400_USB2_RECOVERY_PID == usb_info.pid )
return RS2_PRODUCT_LINE_D400;
if( ds::RS_D500_RECOVERY_PID == usb_info.pid )
return RS2_PRODUCT_LINE_D500;
return 0;
}

Expand Down Expand Up @@ -59,8 +57,6 @@ namespace librealsense
case ds::RS_D400_RECOVERY_PID:
case ds::RS_D400_USB2_RECOVERY_PID:
return std::make_shared< ds_d400_update_device >( shared_from_this(), usb );
case ds::RS_D500_RECOVERY_PID:
return std::make_shared< ds_d500_update_device >( shared_from_this(), usb );
default:
// Do nothing
break;
Expand Down

0 comments on commit 24d14dc

Please sign in to comment.