Skip to content

Commit

Permalink
param_server: fixup copy paste
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Nov 21, 2024
1 parent 2f8c5b7 commit b41070a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/plugins/param_server/param_server_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ParamServer::Result ParamServerImpl::provide_param_float(std::string name, float
const auto ret =
_server_component_impl->mavlink_parameter_server().provide_server_param_float(name, value);
if (ret == MavlinkParameterServer::Result::Ok) {
_server_component_impl->mavlink_parameter_server().subscribe_param_int_changed(
_server_component_impl->mavlink_parameter_server().subscribe_param_float_changed(
name,
[name, this](float new_value) { _changed_param_float_callbacks({name, new_value}); },
this);
Expand Down

0 comments on commit b41070a

Please sign in to comment.