Skip to content

Commit d0fb879

Browse files
committed
adding d555 to method get_default_fw_image
1 parent 8ec9329 commit d0fb879

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

common/fw-update-helper.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ namespace rs2
7777
image = std::vector< uint8_t >( hex, hex + size );
7878
}
7979
}
80+
case RS2_PRODUCT_LINE_D500:
81+
{
82+
bool allow_rc_firmware = config_file::instance().get_or_default(configurations::update::allow_rc_firmware, false);
83+
if (strlen(FW_D555_FW_IMAGE_VERSION) && !allow_rc_firmware)
84+
{
85+
int size = 0;
86+
auto hex = fw_get_D555_FW_Image(size);
87+
image = std::vector< uint8_t >(hex, hex + size);
88+
}
89+
}
8090
break;
8191
default:
8292
break;

0 commit comments

Comments
 (0)