AP_Generator: turn RichenPower on on 2MB boards

This commit is contained in:
Peter Barker 2023-03-14 15:00:57 +11:00 committed by Andrew Tridgell
parent 97f8781a3d
commit 1e516a4dcb

View File

@ -23,5 +23,5 @@
#endif #endif
#ifndef AP_GENERATOR_RICHENPOWER_ENABLED #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 #endif