variable shadowing should be avoided #5676

only: short term solution
This commit is contained in:
Andrey 2024-05-23 13:28:53 -04:00
parent bf5edbb02b
commit 1452e3dfcd
3 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,9 @@ endif
DDEFS += -DEFI_SENT_SUPPORT=TRUE
# temporary solution for variable shadowing should be avoided #5676
DDEFS += -Werror=shadow
# User can configure LIN/K-line interface
DDEFS += -DEFI_KLINE=TRUE
DDEFS += -DKLINE_SERIAL_DEVICE_RX=Gpio::C11 -DKLINE_SERIAL_DEVICE_TX=Gpio::C10

View File

@ -16,6 +16,9 @@ DDEFS += -DEFI_MAX_31855=TRUE
DDEFS += -DSTM32_SPI_USE_SPI5=TRUE
DDEFS += -DEFI_TCU=TRUE
# temporary solution for variable shadowing should be avoided #5676
DDEFS += -Werror=shadow
# Any Proteus-based adapter boards with discrete-VR decoder are controlled via a 5v ignition output
DDEFS += -DVR_SUPPLY_VOLTAGE=5

View File

@ -17,6 +17,9 @@ DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_SUBARU_EG33_F7
# Override DEFAULT_ENGINE_TYPE
DDEFS += -DDEFAULT_ENGINE_TYPE=engine_type_e::SUBARU_EG33
# temporary solution for variable shadowing should be avoided #5676
DDEFS += -Werror=shadow
#Some options override
DDEFS += -DHAL_USE_UART=FALSE
DDEFS += -DUART_USE_WAIT=FALSE