auto-sync
This commit is contained in:
parent
85d79adaeb
commit
b8e191917c
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "bmw_e34.h"
|
#include "bmw_e34.h"
|
||||||
|
#include "thermistors.h"
|
||||||
|
|
||||||
EXTERN_ENGINE;
|
EXTERN_ENGINE;
|
||||||
|
|
||||||
|
@ -20,9 +21,10 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
board_configuration_s * boardConfiguration = &engineConfiguration->bc;
|
board_configuration_s * boardConfiguration = &engineConfiguration->bc;
|
||||||
|
|
||||||
engineConfiguration->algorithm = LM_PLAIN_MAF;
|
engineConfiguration->algorithm = LM_PLAIN_MAF;
|
||||||
|
// engineConfiguration->algorithm = LM_SPEED_DENSITY;
|
||||||
engineConfiguration->injector.flow = 750;
|
engineConfiguration->injector.flow = 750;
|
||||||
|
|
||||||
boardConfiguration->tunerStudioSerialSpeed = 9600;
|
boardConfiguration->tunerStudioSerialSpeed = 115200;
|
||||||
engineConfiguration->rpmHardLimit = 6000;
|
engineConfiguration->rpmHardLimit = 6000;
|
||||||
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
||||||
|
|
||||||
|
@ -97,8 +99,17 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
|
||||||
engineConfiguration->map.sensor.type = MT_MPX4250;
|
engineConfiguration->map.sensor.type = MT_MPX4250;
|
||||||
|
|
||||||
engineConfiguration->hasCltSensor = false;
|
// engineConfiguration->hasCltSensor = false;
|
||||||
engineConfiguration->hasIatSensor = 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
|
* This saves a couple of ticks in trigger emulation methods
|
||||||
|
|
Loading…
Reference in New Issue