diff --git a/firmware/config/boards/microrusefi/board_configuration.cpp b/firmware/config/boards/microrusefi/board_configuration.cpp index 6a7b1c3371..4332bf00aa 100644 --- a/firmware/config/boards/microrusefi/board_configuration.cpp +++ b/firmware/config/boards/microrusefi/board_configuration.cpp @@ -128,8 +128,8 @@ static void setupDefaultSensorInputs() { engineConfiguration->iat.adcChannel = MRE_IN_IAT; - setCommonNTCSensor(&engineConfiguration->auxTempSensor1, 2700); - setCommonNTCSensor(&engineConfiguration->auxTempSensor2, 2700); + setCommonNTCSensor(&engineConfiguration->auxTempSensor1, MRE_DEFAULT_AT_PULLUP); + setCommonNTCSensor(&engineConfiguration->auxTempSensor2, MRE_DEFAULT_AT_PULLUP); #if HW_CHECK_MODE engineConfiguration->auxTempSensor1.adcChannel = EFI_ADC_2; diff --git a/firmware/config/boards/mre_meta.h b/firmware/config/boards/mre_meta.h index 3fd74bd51d..6ff3a2ee1f 100644 --- a/firmware/config/boards/mre_meta.h +++ b/firmware/config/boards/mre_meta.h @@ -7,6 +7,8 @@ #pragma once +#define MRE_DEFAULT_AT_PULLUP 2700 + #define MRE_INJ_1 Gpio::TLE8888_PIN_1 #define MRE_INJ_2 Gpio::TLE8888_PIN_2 #define MRE_INJ_3 Gpio::TLE8888_PIN_3 diff --git a/firmware/config/boards/proteus/board_configuration.cpp b/firmware/config/boards/proteus/board_configuration.cpp index d22d8703af..8c3db7fcee 100644 --- a/firmware/config/boards/proteus/board_configuration.cpp +++ b/firmware/config/boards/proteus/board_configuration.cpp @@ -139,8 +139,8 @@ void setBoardConfigOverrides() { setLedPins(); setupVbatt(); - engineConfiguration->clt.config.bias_resistor = 2700; - engineConfiguration->iat.config.bias_resistor = 2700; + engineConfiguration->clt.config.bias_resistor = PROTEUS_DEFAULT_AT_PULLUP; + engineConfiguration->iat.config.bias_resistor = PROTEUS_DEFAULT_AT_PULLUP; engineConfiguration->canTxPin = Gpio::D1; engineConfiguration->canRxPin = Gpio::D0; diff --git a/firmware/config/boards/proteus_meta.h b/firmware/config/boards/proteus_meta.h index 09c29ecf96..5a5fa41bb2 100644 --- a/firmware/config/boards/proteus_meta.h +++ b/firmware/config/boards/proteus_meta.h @@ -7,6 +7,8 @@ #pragma once +#define PROTEUS_DEFAULT_AT_PULLUP 2700 + #define PROTEUS_LS_1 Gpio::D7 // pin 15/black35 #define PROTEUS_LS_2 Gpio::G9