mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
GCS_MAVLink: rename MSG_RETRY_DEFERRED to MSG_LAST and clarify comments
This commit is contained in:
parent
0c5f66dc59
commit
a841fddb3e
@ -75,7 +75,7 @@ enum ap_message {
|
||||
MSG_BATTERY_STATUS,
|
||||
MSG_AOA_SSA,
|
||||
MSG_LANDING,
|
||||
MSG_RETRY_DEFERRED // this must be last
|
||||
MSG_LAST // MSG_LAST must be the last entry in this enum
|
||||
};
|
||||
|
||||
///
|
||||
@ -356,8 +356,9 @@ private:
|
||||
static AP_HAL::Util::perf_counter_t _perf_packet;
|
||||
static AP_HAL::Util::perf_counter_t _perf_update;
|
||||
|
||||
// deferred message handling
|
||||
enum ap_message deferred_messages[MSG_RETRY_DEFERRED];
|
||||
// deferred message handling. We size the deferred_message
|
||||
// ringbuffer so we can defer every message type
|
||||
enum ap_message deferred_messages[MSG_LAST];
|
||||
uint8_t next_deferred_message;
|
||||
uint8_t num_deferred_messages;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user