diff --git a/libraries/GCS_MAVLink/GCS.h b/libraries/GCS_MAVLink/GCS.h index ce9ee8d0b0..8c9538dda3 100644 --- a/libraries/GCS_MAVLink/GCS.h +++ b/libraries/GCS_MAVLink/GCS.h @@ -532,7 +532,7 @@ private: int8_t next_deferred_message_to_send_cache = -1; struct deferred_message_bucket_t { - Bitmask ap_message_ids{MSG_LAST}; + Bitmask ap_message_ids; uint16_t interval_ms; uint16_t last_sent_ms; // from AP_HAL::millis16() }; @@ -540,7 +540,7 @@ private: static const uint8_t no_bucket_to_send = -1; static const ap_message no_message_to_send = (ap_message)-1; uint8_t sending_bucket_id = no_bucket_to_send; - Bitmask bucket_message_ids_to_send{MSG_LAST}; + Bitmask bucket_message_ids_to_send; ap_message next_deferred_bucket_message_to_send(); void find_next_bucket_to_send(); @@ -548,7 +548,7 @@ private: // bitmask of IDs the code has spontaneously decided it wants to // send out. Examples include HEARTBEAT (gcs_send_heartbeat) - Bitmask pushed_ap_message_ids{MSG_LAST}; + Bitmask pushed_ap_message_ids; // returns true if it is OK to send a message while we are in // delay callback. In particular, when we are doing sensor init