only: more on setInline4

This commit is contained in:
rusefillc 2023-07-24 02:41:45 -04:00
parent a6879e0fba
commit 7906d5125b
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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;