mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-16 03:41:36 +08:00
mavlink: only warn once if broadcast fails
This fixes the issue where the console was spammed if a broadcast failed after a connection had previously been established.
This commit is contained in:
@@ -508,6 +508,7 @@ private:
|
||||
bool _src_addr_initialized;
|
||||
bool _broadcast_address_found;
|
||||
bool _broadcast_address_not_found_warned;
|
||||
bool _broadcast_failed_warned;
|
||||
uint8_t _network_buf[MAVLINK_MAX_PACKET_LEN];
|
||||
unsigned _network_buf_len;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user