Skip to content

Commit

Permalink
correcting syntax when checking if connection type is GMSL
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Jan 6, 2025
1 parent 2a4e78a commit 0efa59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/fw-update/rs-fw-update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ bool is_mipi_device( const rs2::device & dev )
if (dev.supports(RS2_CAMERA_INFO_CONNECTION_TYPE))
{
auto connection_type = dev.get_info(RS2_CAMERA_INFO_CONNECTION_TYPE);
if (connection_type == "GMSL")
if (connection_type == std::string("GMSL"))
is_mipi_device = true;
}
return is_mipi_device;
Expand Down

0 comments on commit 0efa59d

Please sign in to comment.