From 0179dc0a6850cf35765479c8846dbf00cf4e3708 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Jul 2024 11:48:25 +1000 Subject: [PATCH] GCS_MAVLink: default MAVLink HAGL support off on low flash boards --- libraries/GCS_MAVLink/GCS_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/GCS_MAVLink/GCS_config.h b/libraries/GCS_MAVLink/GCS_config.h index e5d78fb8601e0..b26c727d35c4a 100644 --- a/libraries/GCS_MAVLink/GCS_config.h +++ b/libraries/GCS_MAVLink/GCS_config.h @@ -127,3 +127,7 @@ #ifndef AP_MAVLINK_MSG_HIGHRES_IMU_ENABLED #define AP_MAVLINK_MSG_HIGHRES_IMU_ENABLED (BOARD_FLASH_SIZE > 1024) && AP_INERTIALSENSOR_ENABLED #endif + +#ifndef AP_MAVLINK_MAV_CMD_SET_HAGL_ENABLED +#define AP_MAVLINK_MAV_CMD_SET_HAGL_ENABLED (BOARD_FLASH_SIZE > 1024) +#endif