From bd9b34b8285828a4a3a1549b9b8b6110dc2f679f Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 21 Nov 2022 09:09:04 +0900 Subject: [PATCH] AP_Mount: Siyi enabled only on >1MB boards --- libraries/AP_Mount/AP_Mount_Siyi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Mount/AP_Mount_Siyi.h b/libraries/AP_Mount/AP_Mount_Siyi.h index c15401d5bf..1677a0bc1b 100644 --- a/libraries/AP_Mount/AP_Mount_Siyi.h +++ b/libraries/AP_Mount/AP_Mount_Siyi.h @@ -22,7 +22,7 @@ #include "AP_Mount_Backend.h" #ifndef HAL_MOUNT_SIYI_ENABLED -#define HAL_MOUNT_SIYI_ENABLED HAL_MOUNT_ENABLED +#define HAL_MOUNT_SIYI_ENABLED HAL_MOUNT_ENABLED && BOARD_FLASH_SIZE > 1024 #endif #if HAL_MOUNT_SIYI_ENABLED