Skip to content

Commit

Permalink
Rover: only send airspeed when enabled
Browse files Browse the repository at this point in the history
Avoids debug message spam about sending an unknown message.
  • Loading branch information
tpwrules committed Sep 22, 2024
1 parent c5be218 commit 9f0fe0f
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 @@ -529,7 +529,9 @@ static const ap_message STREAM_RAW_SENSORS_msgs[] = {
MSG_SCALED_PRESSURE,
MSG_SCALED_PRESSURE2,
MSG_SCALED_PRESSURE3,
#if AP_AIRSPEED_ENABLED
MSG_AIRSPEED,
#endif
};
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_SYS_STATUS,
Expand Down

0 comments on commit 9f0fe0f

Please sign in to comment.