diff --git a/firmware/config/engines/vw_b6.cpp b/firmware/config/engines/vw_b6.cpp index ccbb0cf874..7734783e1b 100644 --- a/firmware/config/engines/vw_b6.cpp +++ b/firmware/config/engines/vw_b6.cpp @@ -134,7 +134,7 @@ static void commonPassatB6() { } -// MAF, grams per second +// MAF signal frequency after hardware divider x16, Hz static const float hardCodedFreqBins[] = {139, 152, 180, @@ -143,7 +143,7 @@ static const float hardCodedFreqBins[] = {139, 300, 365}; -// MAF signal frequency, KHz +// MAF grams per second static const float hardCodedGperSValues[] { 3.58, 4.5, diff --git a/firmware/config/engines/vw_b6.lua b/firmware/config/engines/vw_b6.lua index e4ed464e6d..bb953d45f9 100644 --- a/firmware/config/engines/vw_b6.lua +++ b/firmware/config/engines/vw_b6.lua @@ -107,7 +107,7 @@ mafCalibrationIndex = findCurveIndex("mafcurve") function onTick() - freqValue = getSensor("AuxSpeed1") * 16 or 0 + freqValue = getSensor("AuxSpeed1") or 0 mafValue = curve(mafCalibrationIndex, 5) -- print(freqValue .. " mafValue=" .. mafValue) mafSensor : set(mafValue)