auto-sync
This commit is contained in:
parent
671060c585
commit
82e713d555
|
@ -38,6 +38,8 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
|||
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
||||
engineConfiguration->useOnlyFrontForTrigger = true;
|
||||
|
||||
boardConfiguration->tachOutputPin = GPIOC_8;
|
||||
|
||||
// Trigger configuration
|
||||
// engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2;
|
||||
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
||||
|
|
|
@ -15,7 +15,7 @@ static OutputPin tachOut;
|
|||
static scheduling_s tachTurnSignalOff;
|
||||
|
||||
static void turnTachPinLow(void) {
|
||||
|
||||
tachOut.setValue(false);
|
||||
}
|
||||
|
||||
static void tachSignalCallback(trigger_event_e ckpSignalType,
|
||||
|
@ -32,7 +32,7 @@ void initTachometer(void) {
|
|||
return;
|
||||
}
|
||||
|
||||
outputPinRegisterExt2("tach", &tachOut, boardConfiguration->tachOutputPin, &boardConfiguration->tachOutputPinMode);
|
||||
outputPinRegisterExt2("analog tach output", &tachOut, boardConfiguration->tachOutputPin, &boardConfiguration->tachOutputPinMode);
|
||||
|
||||
addTriggerEventListener(tachSignalCallback, "tach", engine);
|
||||
|
||||
|
|
|
@ -570,7 +570,7 @@ baro_corr_table_t baroCorrTable;
|
|||
float[CRANKING_CURVE_SIZE] crankingTpsCoef;;"%", 1, 0, 0.0, 700.0, 2
|
||||
float[CRANKING_CURVE_SIZE] crankingTpsBins;;"%", 1, 0, 0.0, 100.0, 2
|
||||
|
||||
float tachPulseDuractionMs;
|
||||
float tachPulseDuractionMs;;"ms", 1, 0, 0.0, 100.0, 2
|
||||
int tachPulseTriggerIndex;trigger cycle index at which we start tach pulse (performance consideration);"index", 1, 0, 0.0, 360.0, 0
|
||||
int[81] unused3;
|
||||
|
||||
|
|
|
@ -291,5 +291,5 @@ int getRusEfiVersion(void) {
|
|||
return 123; // this is here to make the compiler happy about the unused array
|
||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||
return 3211; // this is here to make the compiler happy about the unused array
|
||||
return 20150818;
|
||||
return 20150819;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue