GCS_MAVLink: move definition of HAL_HIGH_LATENCY2_ENABLED into config

This commit is contained in:
Peter Barker 2023-08-02 11:44:09 +10:00 committed by Peter Barker
parent ce33149c9d
commit 8d30f84e73
2 changed files with 4 additions and 4 deletions

View File

@ -28,10 +28,6 @@
#define GCS_DEBUG_SEND_MESSAGE_TIMINGS 0
#ifndef HAL_HIGH_LATENCY2_ENABLED
#define HAL_HIGH_LATENCY2_ENABLED 1
#endif
// macros used to determine if a message will fit in the space available.
void gcs_out_of_space_to_send(mavlink_channel_t chan);

View File

@ -11,6 +11,10 @@
#define AP_MAVLINK_BATTERY2_ENABLED 1
#endif
#ifndef HAL_HIGH_LATENCY2_ENABLED
#define HAL_HIGH_LATENCY2_ENABLED 1
#endif
// handling of MISSION_SET_CURRENT (the message) is slated to be
// removed. It has signficant deficiencies vs MAV_CMD_DO_SET_CURRENT.
// The command was added to the spec in January 2019 and to MAVLink in