tachPulsePerRev needs a safer default, MRE config needs a value
This commit is contained in:
parent
5872885109
commit
5f15b8e48b
|
@ -596,6 +596,7 @@ static void setMiataNB2_MRE_common(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->alternatorControlPin = GPIOD_6;
|
||||
// GPIOD_7: "14 - GP Out 5" - selected to +12v
|
||||
engineConfiguration->tachOutputPin = GPIOD_7; // tachometer
|
||||
CONFIG(tachPulsePerRev) = 2;
|
||||
|
||||
// set cranking_fuel 9
|
||||
engineConfiguration->cranking.baseFuel = 9; // higher value for return system NA conversion since lower fuel pressure
|
||||
|
|
|
@ -743,6 +743,7 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
setDefaultBoostParameters(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
#endif
|
||||
|
||||
CONFIG(tachPulsePerRev) = 1;
|
||||
|
||||
// OBD-II default rate is 500kbps
|
||||
CONFIG(canBaudRate) = B500KBPS;
|
||||
|
|
Loading…
Reference in New Issue