Mark reports that detectHellenBoardType hangs up HD and Nucleo #4084

This commit is contained in:
rusefillc 2022-04-19 15:26:32 -04:00
parent a385cd08a3
commit 6ba13e5e09
2 changed files with 4 additions and 1 deletions

View File

@ -19,3 +19,6 @@ include $(BOARDS_DIR)/hellen/hellen-common144.mk
DDEFS += $(PRIMARY_COMMUNICATION_PORT_USART2)
DDEFS += -DSHORT_BOARD_NAME=harley81
# temp workaround of https://github.com/rusefi/rusefi/issues/4084
DDEFS += -DHW_HELLEN_SKIP_BOARD_TYPE=TRUE

View File

@ -999,7 +999,7 @@ end
}
void detectBoardType() {
#if HW_HELLEN
#if HW_HELLEN && !defined(HW_HELLEN_SKIP_BOARD_TYPE)
#if !EFI_UNIT_TEST
detectHellenBoardType();
#endif /* EFI_UNIT_TEST */