B6 progress
This commit is contained in:
parent
d7e461e248
commit
ac8e939e20
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue