Skip to content

Commit

Permalink
GCS_MAVLink: move definition of HAL_HIGH_LATENCY2_ENABLED into config
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Aug 3, 2023
1 parent ce33149 commit 8d30f84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/GCS_MAVLink/GCS.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions libraries/GCS_MAVLink/GCS_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d30f84

Please sign in to comment.