From 0760250c7eae6db6adeafa868271afce4247e762 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 22 May 2020 13:24:04 -0400 Subject: [PATCH] oooops :( --- firmware/config/engines/mazda_miata_vvt.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/config/engines/mazda_miata_vvt.cpp b/firmware/config/engines/mazda_miata_vvt.cpp index 5252b2359f..9e389333ff 100644 --- a/firmware/config/engines/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda_miata_vvt.cpp @@ -624,10 +624,10 @@ static void setMiataNB2_MRE_common(DECLARE_CONFIG_PARAMETER_SIGNATURE) { engineConfiguration->idleMode = IM_AUTO; - // set vbatt_divider 11 - // 0.3#4 has wrong R139 as well? - // 56k high side/10k low side multiplied by above analogInputDividerCoefficient = 11 - engineConfiguration->vbattDividerCoeff = (66.0f / 10.0f) * engineConfiguration->analogInputDividerCoefficient; + // 0.3#4 has wrong R139? TODO: fix that custom board to match proper value!!! + // set vbatt_divider 10.956 + // 56k high side/10k low side multiplied by analogInputDividerCoefficient + // vbattDividerCoeff = 10.956 (66.0f / 10.0f) * engineConfiguration->analogInputDividerCoefficient; #endif /* BOARD_TLE8888_COUNT */ }