File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ namespace rs2
5757 std::string get_available_firmware_version (int product_line, const std::string& pid)
5858 {
5959 if (product_line == RS2_PRODUCT_LINE_D400) return FW_D4XX_FW_IMAGE_VERSION;
60- else if (pid == " 0B56" ) return FW_D555_FW_IMAGE_VERSION;
60+ else if (pid == " 0B56" || pid == " DDS " ) return FW_D555_FW_IMAGE_VERSION;
6161 else return " " ;
6262 }
6363
@@ -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 ;
You can’t perform that action at this time.
0 commit comments