Skip to content

Commit

Permalink
Camera: FIX set/get options use the correct target component id
Browse files Browse the repository at this point in the history
  • Loading branch information
persuader72 authored and julianoes committed Apr 13, 2022
1 parent 6787875 commit 237f96f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mavsdk/plugins/camera/camera_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1572,6 +1572,7 @@ void CameraImpl::set_option_async(
}
},
this,
static_cast<uint8_t>(_camera_id + MAV_COMP_ID_CAMERA),
true);
}

Expand Down Expand Up @@ -1819,6 +1820,7 @@ void CameraImpl::refresh_params()
}
},
this,
static_cast<uint8_t>(_camera_id + MAV_COMP_ID_CAMERA),
true);
++count;
}
Expand Down

0 comments on commit 237f96f

Please sign in to comment.