Skip to content

Commit

Permalink
Blimp: do not send MSG_RPM if RPM not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Sep 28, 2022
1 parent 3a61c97 commit 5c75ad2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Blimp/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "Blimp.h"

#include "GCS_Mavlink.h"
#include <AP_RPM/AP_RPM_config.h>

MAV_TYPE GCS_Blimp::frame_type() const
{
Expand Down Expand Up @@ -357,7 +358,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
MSG_MAG_CAL_PROGRESS,
MSG_EKF_STATUS_REPORT,
MSG_VIBRATION,
#if AP_RPM_ENABLED
MSG_RPM,
#endif
MSG_ESC_TELEMETRY,
MSG_GENERATOR_STATUS,
};
Expand Down

0 comments on commit 5c75ad2

Please sign in to comment.