diff --git a/libraries/AP_OLC/AP_OLC.h b/libraries/AP_OLC/AP_OLC.h index 4df3ddfad4..061e3918f2 100644 --- a/libraries/AP_OLC/AP_OLC.h +++ b/libraries/AP_OLC/AP_OLC.h @@ -20,7 +20,7 @@ #include #ifndef HAL_PLUSCODE_ENABLE -#define HAL_PLUSCODE_ENABLE !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024 +#define HAL_PLUSCODE_ENABLE BOARD_FLASH_SIZE > 1024 #endif