speeduino
speeduino copied to clipboard
DFCO with MAP check
Hi, don't really know how to use github well but anyway: on my motorcycle running speeduino I had massive backfire during deceleration due to low pressure and DFCO as is did not make a good enough job, so i added a MAP check in the correctionDFCO() function using the variable (free for me not using the boost) of boost limit. The check is made like this: (currentStatus.MAP < configPage6.boostLimit*2) in AND with the others already used to keep the DFCO running, abilitation is the same. It helped me massively with backfire and I also now have engine braking.
if ( BIT_CHECK(currentStatus.status1, BIT_STATUS1_DFCO) == 1 ) { //keep active above xRPM, under xTPS and under xMAP DFCOValue = ( currentStatus.RPM > ( configPage4.dfcoRPM * 10) ) && ( currentStatus.TPS < configPage4.dfcoTPSThresh ) && (currentStatus.MAP < configPage6.boostLimit*2); if ( DFCOValue == false) { dfcoTaper = 0; } }