merc128: engine config defaults #3236
This commit is contained in:
parent
c97fd1d1b8
commit
26d4646e88
|
@ -190,6 +190,7 @@ void setBoardDefaultConfiguration(void) {
|
|||
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
|
||||
engineConfiguration->injectionMode = IM_SIMULTANEOUS;//IM_BATCH;// IM_SEQUENTIAL;
|
||||
|
||||
setHellenDefaultVrThresholds(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
hellenWbo();
|
||||
}
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@ void setBoardConfigOverrides(void) {
|
|||
engineConfiguration->canTxPin = GPIOD_1;
|
||||
engineConfiguration->canRxPin = GPIOD_0;
|
||||
|
||||
setHellenDefaultVrThresholds(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
engineConfiguration->vrThreshold[0].pin = GPIOD_14;
|
||||
}
|
||||
|
||||
|
@ -178,6 +179,8 @@ void setBoardDefaultConfiguration(void) {
|
|||
/**
|
||||
* Jimmy best tune
|
||||
* https://rusefi.com/online/view.php?msq=626
|
||||
* md_sanci latest tune
|
||||
* https://rusefi.com/online/view.php?msq=630
|
||||
*/
|
||||
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_3;
|
||||
engineConfiguration->throttlePedalPositionSecondAdcChannel = EFI_ADC_14;
|
||||
|
|
|
@ -760,6 +760,11 @@ void setHellen72etb(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
CONFIG(etbIo[0].directionPin1) = GPIOC_6;
|
||||
CONFIG(etbIo[0].directionPin2) = GPIOC_7;
|
||||
engineConfiguration->etb_use_two_wires = true;
|
||||
|
||||
}
|
||||
|
||||
void setHellenDefaultVrThresholds(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
for (int i = 0;i<VR_THRESHOLD_COUNT;i++) {
|
||||
setLinearCurve(engineConfiguration->vrThreshold[i].rpmBins, 600, 7000, 100);
|
||||
setLinearCurve(engineConfiguration->vrThreshold[i].values, 0.6, 1.2, 0.1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "engine_configuration.h"
|
||||
|
||||
void setHellenDefaultVrThresholds(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
void setFrankensoConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
void setFrankenso_01_LCD(engine_configuration_s *engineConfiguration);
|
||||
void disableLCD(engine_configuration_s *engineConfiguration);
|
||||
|
|
Loading…
Reference in New Issue