diff --git a/src/ui/MAVLinkDecoder.cc b/src/ui/MAVLinkDecoder.cc index 2a0333b55452b8b19c293cfbf76a2245b2b67d64..b1ba65fdd64b6e319b66ea93fee11935c8a2e85f 100644 --- a/src/ui/MAVLinkDecoder.cc +++ b/src/ui/MAVLinkDecoder.cc @@ -27,8 +27,10 @@ MAVLinkDecoder::MAVLinkDecoder(MAVLinkProtocol* protocol, QObject *parent) : messageFilter.insert(MAVLINK_MSG_ID_MISSION_ITEM, false); messageFilter.insert(MAVLINK_MSG_ID_MISSION_COUNT, false); messageFilter.insert(MAVLINK_MSG_ID_MISSION_ACK, false); + #ifdef MAVLINK_ENABLED_PIXHAWK messageFilter.insert(MAVLINK_MSG_ID_DATA_STREAM, false); messageFilter.insert(MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE, false); + #endif messageFilter.insert(MAVLINK_MSG_ID_EXTENDED_MESSAGE, false); textMessageFilter.insert(MAVLINK_MSG_ID_DEBUG, false);