Skip to content

Commit

Permalink
Rover: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED i…
Browse files Browse the repository at this point in the history
…s false
  • Loading branch information
IamPete1 committed Feb 29, 2024
1 parent f968dd0 commit 19803d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rover/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,9 @@ static const ap_message STREAM_EXTRA2_msgs[] = {
static const ap_message STREAM_EXTRA3_msgs[] = {
MSG_AHRS,
MSG_WIND,
#if AP_RANGEFINDER_ENABLED
MSG_RANGEFINDER,
#endif
MSG_DISTANCE_SENSOR,
MSG_SYSTEM_TIME,
#if AP_BATTERY_ENABLED
Expand Down

0 comments on commit 19803d7

Please sign in to comment.