Rover: only send airspeed when enabled

Avoids debug message spam about sending an unknown message.
This commit is contained in:
Thomas Watson 2024-09-22 11:53:03 -05:00 committed by Peter Barker
parent b9dcd5949d
commit 95fb9bd533
1 changed files with 2 additions and 0 deletions

View File

@ -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,