Minor fixes

This commit is contained in:
Josh Stewart 2015-08-22 16:24:58 +10:00
parent ae7b355c3e
commit f4968d8791
3 changed files with 4 additions and 3 deletions

View File

@ -526,8 +526,8 @@ void sendToothLog(bool useChar)
{
for(int x=0; x<256; x++)
{
Serial.write(highByte(tempToothHistory[x]));
Serial.write(lowByte(tempToothHistory[x]));
Serial.write(highByte(tempToothHistory[x]));
}
}
Serial.flush();

View File

@ -290,6 +290,7 @@ void triggerPri_4G63()
currentStatus.hasSync = true;
startRevolutions++; //Counter
}
else if (!currentStatus.hasSync) { return; }
else { toothCurrentCount++; }
//High speed tooth logging history

View File

@ -91,8 +91,8 @@ void setPinMapping(byte boardID)
pinInjector4 = 11; //Output pin injector 4 is on
pinCoil1 = 40; //Pin for coil 1
pinCoil2 = 38; //Pin for coil 2
pinCoil3 = 40; //Pin for coil 3
pinCoil4 = 36; //Pin for coil 4
pinCoil3 = 52; //Pin for coil 3
pinCoil4 = 50; //Pin for coil 4
pinTrigger = 19; //The CAS pin
pinTrigger2 = 18; //The Cam Sensor pin
pinTPS = A2;//TPS input pin