diff --git a/libraries/AP_HAL/board/sitl.h b/libraries/AP_HAL/board/sitl.h index 075a3dc32c..c30de36a6a 100644 --- a/libraries/AP_HAL/board/sitl.h +++ b/libraries/AP_HAL/board/sitl.h @@ -10,8 +10,6 @@ #define AP_FLASHSTORAGE_TYPE 3 -#if defined(STORAGE_USE_FLASH) && STORAGE_USE_FLASH==1 - #if AP_FLASHSTORAGE_TYPE == 1 // emulate F1/F3 flash #define HAL_STORAGE_SIZE 15360 @@ -33,7 +31,6 @@ #define HAL_FLASH_MIN_WRITE_SIZE 32 #define HAL_FLASH_ALLOW_UPDATE 0 #endif -#endif #ifndef HAL_STORAGE_SIZE #define HAL_STORAGE_SIZE 32768