Comment cleanup

This commit is contained in:
Josh Stewart 2017-08-24 00:56:05 +10:00
parent 0a7b782af9
commit 5400b3fe81
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,8 @@ void readMAP()
{
currentStatus.mapADC = ADC_FILTER(tempReading, ADCFILTER_MAP, currentStatus.mapADC);
MAPrunningValue += currentStatus.mapADC; //Add the current reading onto the total
//MAPrunningValue = MAPrunningValue + (unsigned long)tempReading; //Add the current reading onto the total
//Old method (No filter)
//MAPrunningValue = MAPrunningValue + (unsigned long)tempReading;
MAPcount++;
}
else { mapErrorCount += 1; }