Skip to content

Commit

Permalink
Blimp: 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 a842b01 commit f968dd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Blimp/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
MSG_AHRS,
MSG_SYSTEM_TIME,
MSG_WIND,
#if AP_RANGEFINDER_ENABLED
MSG_RANGEFINDER,
#endif
MSG_DISTANCE_SENSOR,
#if AP_BATTERY_ENABLED
MSG_BATTERY_STATUS,
Expand Down

0 comments on commit f968dd0

Please sign in to comment.