GCS_MAVLink: default MAVLink HAGL support off on low flash boards

This commit is contained in:
Andrew Tridgell 2024-07-16 11:48:25 +10:00
parent 36d85c9349
commit 0179dc0a68

View File

@ -127,3 +127,7 @@
#ifndef AP_MAVLINK_MSG_HIGHRES_IMU_ENABLED #ifndef AP_MAVLINK_MSG_HIGHRES_IMU_ENABLED
#define AP_MAVLINK_MSG_HIGHRES_IMU_ENABLED (BOARD_FLASH_SIZE > 1024) && AP_INERTIALSENSOR_ENABLED #define AP_MAVLINK_MSG_HIGHRES_IMU_ENABLED (BOARD_FLASH_SIZE > 1024) && AP_INERTIALSENSOR_ENABLED
#endif #endif
#ifndef AP_MAVLINK_MAV_CMD_SET_HAGL_ENABLED
#define AP_MAVLINK_MAV_CMD_SET_HAGL_ENABLED (BOARD_FLASH_SIZE > 1024)
#endif