X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fcore%2Fao_config.c;h=921a248065a25d130e27c10799e2dc3dc9c3c41e;hb=20282ef00afe70e3f3193f6f0200254cb2c33e93;hp=f0a576ee9692289b0784ba9e62a232fb1ab910fc;hpb=b132eefc5f63412bb4a98a4bb72b9055e40d5d42;p=fw%2Faltos diff --git a/src/core/ao_config.c b/src/core/ao_config.c index f0a576ee..921a2480 100644 --- a/src/core/ao_config.c +++ b/src/core/ao_config.c @@ -34,11 +34,13 @@ __xdata uint8_t ao_config_mutex; #error Please define USE_INTERNAL_FLASH #endif #endif +#ifndef AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX #if USE_INTERNAL_FLASH #define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX ao_storage_config #else #define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX ((uint32_t) 192 * (uint32_t) 1024) #endif +#endif #if HAS_EEPROM static void