From 1e516a4dcbbfe5a807c16eb511c8fe6b70954711 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 14 Mar 2023 15:00:57 +1100 Subject: [PATCH] AP_Generator: turn RichenPower on on 2MB boards --- libraries/AP_Generator/AP_Generator_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Generator/AP_Generator_config.h b/libraries/AP_Generator/AP_Generator_config.h index 3615fa3b11..ed508769b1 100644 --- a/libraries/AP_Generator/AP_Generator_config.h +++ b/libraries/AP_Generator/AP_Generator_config.h @@ -23,5 +23,5 @@ #endif #ifndef AP_GENERATOR_RICHENPOWER_ENABLED -#define AP_GENERATOR_RICHENPOWER_ENABLED 0 +#define AP_GENERATOR_RICHENPOWER_ENABLED AP_GENERATOR_BACKEND_DEFAULT_ENABLED && BOARD_FLASH_SIZE > 1024 #endif