Skip to content

Commit

Permalink
adding d555 to method get_default_fw_image
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Nov 28, 2024
1 parent 8ec9329 commit d0fb879
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/fw-update-helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ namespace rs2
image = std::vector< uint8_t >( hex, hex + size );
}
}
case RS2_PRODUCT_LINE_D500:
{
bool allow_rc_firmware = config_file::instance().get_or_default(configurations::update::allow_rc_firmware, false);
if (strlen(FW_D555_FW_IMAGE_VERSION) && !allow_rc_firmware)
{
int size = 0;
auto hex = fw_get_D555_FW_Image(size);
image = std::vector< uint8_t >(hex, hex + size);
}
}
break;
default:
break;
Expand Down

0 comments on commit d0fb879

Please sign in to comment.