From ca92234122ccbfaa8a261f49e570790719c4a2c7 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 4 Sep 2024 19:36:04 -0400 Subject: [PATCH] only:alphax-2chan --- .../config/boards/hellen/alphax-2chan/board_configuration.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/config/boards/hellen/alphax-2chan/board_configuration.cpp b/firmware/config/boards/hellen/alphax-2chan/board_configuration.cpp index e0f3c2f217..cb19cd7496 100644 --- a/firmware/config/boards/hellen/alphax-2chan/board_configuration.cpp +++ b/firmware/config/boards/hellen/alphax-2chan/board_configuration.cpp @@ -77,8 +77,12 @@ void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration static bool isMegaModuleRevision() { +#ifndef EFI_BOOTLOADER int16_t hellenBoardId = engine->engineState.hellenBoardId; return hellenBoardId != BOARD_ID_ALPHA2CH_B && hellenBoardId != BOARD_ID_ALPHA2CH_C && hellenBoardId != BOARD_ID_ALPHA2CH_D; +#else + return true; +#endif // EFI_BOOTLOADER } void setBoardConfigOverrides() {