mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 17:13:35 +08:00
Mavlink set last sent timestamp to space out initial publication
- remove QURT defines no longer required
This commit is contained in:
committed by
Lorenz Meier
parent
98465171aa
commit
a99f75dde2
@@ -84,7 +84,7 @@ public:
|
||||
void handle_mavlink_command_ack(const mavlink_command_ack_t &ack, uint8_t from_sysid, uint8_t from_compid);
|
||||
|
||||
private:
|
||||
MavlinkCommandSender();
|
||||
MavlinkCommandSender() = default;
|
||||
|
||||
~MavlinkCommandSender();
|
||||
|
||||
@@ -111,11 +111,11 @@ private:
|
||||
int8_t num_sent_per_channel[MAX_MAVLINK_CHANNEL] = {-1, -1, -1, -1};
|
||||
} command_item_t;
|
||||
|
||||
TimestampedList<command_item_t> _commands;
|
||||
TimestampedList<command_item_t> _commands{3};
|
||||
|
||||
bool _debug_enabled = false;
|
||||
static const uint8_t RETRIES = 3;
|
||||
static const uint64_t TIMEOUT_US = 500000;
|
||||
static constexpr uint8_t RETRIES = 3;
|
||||
static constexpr uint64_t TIMEOUT_US = 500000;
|
||||
|
||||
/* do not allow copying or assigning this class */
|
||||
MavlinkCommandSender(const MavlinkCommandSender &) = delete;
|
||||
|
||||
Reference in New Issue
Block a user