Skip to content

Commit

Permalink
fix camera crash
Browse files Browse the repository at this point in the history
  • Loading branch information
rayw-dronesense committed Nov 22, 2024
1 parent a82b297 commit 14d1932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/plugins/camera/camera_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ bool CameraImpl::get_possible_options(

for (const auto& value : values) {
std::stringstream ss{};
ss << value;
ss << value.get_string();
Camera::Option option{};
option.option_id = ss.str();
if (!is_setting_range(setting_id)) {
Expand Down

0 comments on commit 14d1932

Please sign in to comment.