Skip to content

Commit

Permalink
Make log more explicit when param is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Nov 28, 2024
1 parent 1b2b2d1 commit df32e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/core/mavlink_parameter_subscription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void MavlinkParameterSubscription::find_and_call_subscriptions_value_changed(
if (subscription.param_name != param_name) {
continue;
}
LogDebug() << "Param " << param_name << " changed";
LogDebug() << "Param " << param_name << " changed to " << value;
// We have a subscription on this param name, now check if the subscription is for the right
// type and call the callback when matching
if (std::get_if<ParamFloatChangedCallback>(&subscription.callback) && value.get_float()) {
Expand Down

0 comments on commit df32e98

Please sign in to comment.