Minor changes to ini for logging and input checks

This commit is contained in:
Josh Stewart 2014-11-17 22:20:40 +11:00
parent f9a1a29fde
commit 3c325a7190
2 changed files with 3 additions and 2 deletions

View File

@ -163,7 +163,7 @@
#endif
TrigAng = scalar, U08, 80, "Deg", 4, 0, 0, 360, 0
FixAng = scalar, U08, 81, "Deg", 0.352, -28.4, -10, 80, 0
FixAng = scalar, U08, 81, "Deg", 1, 0, 0, 80, 0
Trim = scalar, S08, 82, "Deg", 0.352, 0, -45, 45, 0
CrankAng = scalar, U08, 83, "Deg", 1, -28.4, -10, 80, 0
IgHold = scalar, U08, 84, "", 1, 0, 0, 100, 0
@ -880,6 +880,7 @@ help = helpEnrichments, "Enrichments Help"
entry = blank1, "tpsMin", int, "%d"
entry = blank2, "tpsMax", int, "%d"
entry = TPSdot, "TPS DOT", int, "%d"
entry = advance, "Ignition Advance", int,"%d"
[LoggerDefinition]
; valid logger types: composite, tooth, trigger, csv

View File

@ -254,7 +254,7 @@ void loop()
//Always check for sync
//Main loop runs within this clause
if (currentStatus.hasSync && currentStatus.RPM > 0)
if (currentStatus.hasSync && (currentStatus.RPM > 0))
{
//If it is, check is we're running or cranking
if(currentStatus.RPM > configPage2.crankRPM)