diff --git a/firmware/config/boards/microrusefi/board_configuration.cpp b/firmware/config/boards/microrusefi/board_configuration.cpp index 328e06f2f1..838b6dc56e 100644 --- a/firmware/config/boards/microrusefi/board_configuration.cpp +++ b/firmware/config/boards/microrusefi/board_configuration.cpp @@ -86,6 +86,7 @@ static void setupVbatt() { // set vbatt_divider 8.23 // R139=39k high side/R141=10k low side multiplied by above analogInputDividerCoefficient = 8.232f engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * engineConfiguration->analogInputDividerCoefficient; + // PC1, pin #1 input +12 from Main Relay. Main Relay controlled by TLE8888 engineConfiguration->vbattAdcChannel = EFI_ADC_11; engineConfiguration->adcVcc = 3.29f; diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index bf45da611e..b236f6e8c2 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -696,7 +696,7 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) * UNUSED_SIZE contants. */ #ifndef RAM_UNUSED_SIZE -#define RAM_UNUSED_SIZE 12200 +#define RAM_UNUSED_SIZE 11700 #endif #ifndef CCM_UNUSED_SIZE #define CCM_UNUSED_SIZE 2900 @@ -717,6 +717,6 @@ int getRusEfiVersion(void) { if (initBootloader() != 0) return 123; #endif /* EFI_BOOTLOADER_INCLUDE_CODE */ - return 20200511; + return 20200513; } #endif /* EFI_UNIT_TEST */