diff --git a/libraries/AP_HAL_PX4/Storage.h b/libraries/AP_HAL_PX4/Storage.h index 9a1244886b..0a2b929e02 100644 --- a/libraries/AP_HAL_PX4/Storage.h +++ b/libraries/AP_HAL_PX4/Storage.h @@ -7,7 +7,7 @@ #include "AP_HAL_PX4_Namespace.h" #include -#define PX4_STORAGE_SIZE 4096 +#define PX4_STORAGE_SIZE HAL_STORAGE_SIZE #define PX4_STORAGE_MAX_WRITE 512 #define PX4_STORAGE_LINE_SHIFT 9 #define PX4_STORAGE_LINE_SIZE (1<