From 2c000abea1cdb978f3476c354a7c219af1d08259 Mon Sep 17 00:00:00 2001 From: Benas Brazdziunas Date: Tue, 15 Mar 2022 11:59:45 +0000 Subject: [PATCH] Small voltage divider coeff update for core8 (#4003) * Launch fual and spark cut issue * moved launch cuts to limp_manager * Applied recomendations * Auto-generated configs and docs * Added recomendations * Auto-generated configs and docs * small fix to voltage divider coeff on core8 Co-authored-by: GitHub build-firmware Action Co-authored-by: Benas --- firmware/config/boards/core8/board_configuration.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/config/boards/core8/board_configuration.cpp b/firmware/config/boards/core8/board_configuration.cpp index 0a70935f3a..a9f66ad04d 100644 --- a/firmware/config/boards/core8/board_configuration.cpp +++ b/firmware/config/boards/core8/board_configuration.cpp @@ -71,10 +71,10 @@ static void setEtbConfig() { static void setupVbatt() { // 5.6k high side/10k low side = 1.56 ratio divider - engineConfiguration->analogInputDividerCoefficient = 1.47f; - - // 6.34k high side/1k low side = 9.2 - engineConfiguration->vbattDividerCoeff = (6.34f / 1.0f); + engineConfiguration->analogInputDividerCoefficient = 1.56f; + + // 6.34k high side/ 1k low side + engineConfiguration->vbattDividerCoeff = (6.34 + 1) / 1; // Battery sense on PA7 engineConfiguration->vbattAdcChannel = EFI_ADC_0;