mirror of https://github.com/FOME-Tech/fome-fw.git
tachPulsePerRev needs a safer default, MRE config needs a value
This commit is contained in:
parent
48be091241
commit
d5d5bbba9f
|
@ -596,6 +596,7 @@ static void setMiataNB2_MRE_common(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->alternatorControlPin = GPIOD_6;
|
engineConfiguration->alternatorControlPin = GPIOD_6;
|
||||||
// GPIOD_7: "14 - GP Out 5" - selected to +12v
|
// GPIOD_7: "14 - GP Out 5" - selected to +12v
|
||||||
engineConfiguration->tachOutputPin = GPIOD_7; // tachometer
|
engineConfiguration->tachOutputPin = GPIOD_7; // tachometer
|
||||||
|
CONFIG(tachPulsePerRev) = 2;
|
||||||
|
|
||||||
// set cranking_fuel 9
|
// set cranking_fuel 9
|
||||||
engineConfiguration->cranking.baseFuel = 9; // higher value for return system NA conversion since lower fuel pressure
|
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);
|
setDefaultBoostParameters(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
CONFIG(tachPulsePerRev) = 1;
|
||||||
|
|
||||||
// OBD-II default rate is 500kbps
|
// OBD-II default rate is 500kbps
|
||||||
CONFIG(canBaudRate) = B500KBPS;
|
CONFIG(canBaudRate) = B500KBPS;
|
||||||
|
|
Loading…
Reference in New Issue