Add some missed update variables for 202012

This commit is contained in:
Josh Stewart 2020-12-13 09:40:03 +11:00
parent 5de6becbfa
commit 23bbee6b82
2 changed files with 6 additions and 1 deletions

View File

@ -1113,7 +1113,7 @@ page = 10
spark2Algorithm = bits, U08, 181, [0:2], $loadSourceNames
spark2Mode = bits, U08, 181, [3:5], "Off", "Multiplied %", "Added", "Switched - Conditional", "Switched - Input based","INVALID","INVALID","INVALID"
spark2SwitchVariable = bits, U08, 181, [6:7], "RPM", "MAP", "TPS", "ETH%"
spark2SwitchValue = scalar, U16, 182, { bitStringValue(fuel2SwitchUnits, fuel2SwitchVariable) }, 1.0, 0.0, 0.0, 9000, 0
spark2SwitchValue = scalar, U16, 182, { bitStringValue(fuel2SwitchUnits, spark2SwitchVariable) }, 1.0, 0.0, 0.0, 9000, 0
spark2InputPin = bits , U08, 184, [0:5], $IO_Pins_no_def
spark2InputPolarity = bits , U08, 184, [6:6], "LOW", "HIGH"
spark2InputPullup = bits , U08, 184, [7:7], "No", "Yes"

View File

@ -423,6 +423,11 @@ void doUpdates()
//New AE option added to allow for PW added in addition to existing PW multiply
configPage2.aeApplyMode = 0; //Set the AE mode to Multiply
//Injector priming delay added
configPage2.primingDelay = 0;
//ASE taper time added
configPage2.aseTaperTime = 10; //1 second taper
writeAllConfig();
EEPROM.write(EEPROM_DATA_VERSION, 15);
}