only: more on setInline4
This commit is contained in:
parent
a6879e0fba
commit
7906d5125b
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "pch.h"
|
||||
#include "hellen_meta.h"
|
||||
#include "defaults.h"
|
||||
|
||||
static OutputPin alphaEn;
|
||||
static OutputPin alphaTachPullUp;
|
||||
|
@ -143,8 +144,7 @@ void setBoardDefaultConfiguration() {
|
|||
// "required" hardware is done - set some reasonable defaults
|
||||
setupDefaultSensorInputs();
|
||||
|
||||
engineConfiguration->cylindersCount = 4;
|
||||
engineConfiguration->firingOrder = FO_1_3_4_2;
|
||||
setInline4();
|
||||
|
||||
engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS; // IM_WASTED_SPARK
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "vw.h"
|
||||
#include "custom_engine.h"
|
||||
#include "defaults.h"
|
||||
|
||||
// VW_ABA
|
||||
// set engine_type 32
|
||||
|
@ -28,7 +29,7 @@ void setVwAba() {
|
|||
engineConfiguration->trigger.type = trigger_type_e::TT_TOOTHED_WHEEL_60_2;
|
||||
|
||||
//Base engine setting
|
||||
engineConfiguration->cylindersCount = 4;
|
||||
setInline4();
|
||||
engineConfiguration->displacement = 2.0;
|
||||
engineConfiguration->injector.flow = 320; // 30lb/h
|
||||
// set algorithm 3
|
||||
|
|
|
@ -54,9 +54,8 @@ static void setDefaultHPFP() {
|
|||
|
||||
void setDefaultBaseEngine() {
|
||||
// Base Engine Settings
|
||||
engineConfiguration->cylindersCount = 4;
|
||||
engineConfiguration->displacement = 2;
|
||||
engineConfiguration->firingOrder = FO_1_3_4_2;
|
||||
setInline4();
|
||||
|
||||
engineConfiguration->compressionRatio = 9;
|
||||
engineConfiguration->vssFilterReciprocal = VSS_FILTER_MIN;
|
||||
|
|
Loading…
Reference in New Issue