Average cycle MAP reading for, similar to b5b6ea64a2

This commit is contained in:
Josh Stewart 2019-08-21 15:20:29 +10:00
parent 4357b1b4cf
commit 162e1837d6
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ static inline void readMAP()
if ( (currentStatus.RPM > 0) && (currentStatus.hasSync == true) ) //If the engine isn't running, fall back to instantaneous reads
{
if( (MAPcurRev == currentStatus.startRevolutions) || (MAPcurRev == (currentStatus.startRevolutions+1)) ) //2 revolutions are looked at for 4 stroke. 2 stroke not currently catered for.
if( (MAPcurRev == currentStatus.startRevolutions) || ( (MAPcurRev+1) == currentStatus.startRevolutions) ) //2 revolutions are looked at for 4 stroke. 2 stroke not currently catered for.
{
#if defined(ANALOG_ISR_MAP)
tempReading = AnChannel[pinMAP-A0];