auto-sync

This commit is contained in:
rusEfi 2015-03-18 08:10:40 -05:00
parent 85d79adaeb
commit b8e191917c
1 changed files with 14 additions and 3 deletions

View File

@ -13,6 +13,7 @@
#include "global.h"
#include "bmw_e34.h"
#include "thermistors.h"
EXTERN_ENGINE;
@ -20,9 +21,10 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
board_configuration_s * boardConfiguration = &engineConfiguration->bc;
engineConfiguration->algorithm = LM_PLAIN_MAF;
// engineConfiguration->algorithm = LM_SPEED_DENSITY;
engineConfiguration->injector.flow = 750;
boardConfiguration->tunerStudioSerialSpeed = 9600;
boardConfiguration->tunerStudioSerialSpeed = 115200;
engineConfiguration->rpmHardLimit = 6000;
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
@ -97,8 +99,17 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->map.sensor.type = MT_MPX4250;
engineConfiguration->hasCltSensor = false;
engineConfiguration->hasIatSensor = false;
// engineConfiguration->hasCltSensor = false;
// engineConfiguration->hasIatSensor = false;
engineConfiguration->hasCltSensor = true;
engineConfiguration->hasIatSensor = true;
setThermistorConfiguration(&engineConfiguration->clt, -10, 9300, 20, 2500, 80, 335);
engineConfiguration->iat.bias_resistor = 2490;
setThermistorConfiguration(&engineConfiguration->iat, -10, 9300, 20, 2500, 80, 335);
engineConfiguration->clt.bias_resistor = 2490;
/**
* This saves a couple of ticks in trigger emulation methods