auto-sync
This commit is contained in:
parent
ca85d8e30d
commit
203e0401e6
|
@ -21,6 +21,7 @@
|
|||
#include "thermistors.h"
|
||||
#include "engine_math.h"
|
||||
#include "fsio_impl.h"
|
||||
#include "allsensors.h"
|
||||
#if EFI_PROD_CODE
|
||||
#include "HIP9011.h"
|
||||
#endif
|
||||
|
@ -307,10 +308,10 @@ void setDodgeNeonNGCEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
*/
|
||||
|
||||
|
||||
setThermistorConfiguration(&engineConfiguration->clt, 0, 32500, 30, 7550, 100, 700);
|
||||
setDodgeSensor(&engineConfiguration->clt);
|
||||
engineConfiguration->clt.bias_resistor = 10000;
|
||||
|
||||
setThermistorConfiguration(&engineConfiguration->iat, 0, 32500, 30, 7550, 100, 700);
|
||||
setDodgeSensor(&engineConfiguration->iat);
|
||||
engineConfiguration->iat.bias_resistor = 10000;
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "main.h"
|
||||
#include "dodge_ram.h"
|
||||
#include "custom_engine.h"
|
||||
#include "allsensors.h"
|
||||
|
||||
EXTERN_ENGINE
|
||||
;
|
||||
|
@ -67,4 +68,11 @@ void setDodgeRam1996(DECLARE_ENGINE_PARAMETER_F) {
|
|||
boardConfiguration->idle.solenoidFrequency = 300;
|
||||
|
||||
engineConfiguration->vbattAdcChannel = EFI_ADC_14;
|
||||
|
||||
setDodgeSensor(&engineConfiguration->clt);
|
||||
engineConfiguration->clt.bias_resistor = 2700;
|
||||
|
||||
setDodgeSensor(&engineConfiguration->iat);
|
||||
engineConfiguration->iat.bias_resistor = 2700;
|
||||
|
||||
}
|
||||
|
|
|
@ -190,6 +190,10 @@ static void initThermistorCurve(Thermistor * t, ThermistorConf *config, adc_chan
|
|||
t->channel = channel;
|
||||
}
|
||||
|
||||
void setDodgeSensor(ThermistorConf *thermistorConf) {
|
||||
setThermistorConfiguration(thermistorConf, -40, 336660, 30, 7550, 120, 390);
|
||||
}
|
||||
|
||||
// todo: better method name?
|
||||
void setCommonNTCSensor(ThermistorConf *thermistorConf) {
|
||||
/**
|
||||
|
|
|
@ -50,5 +50,6 @@ class Engine;
|
|||
void initThermistors(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S);
|
||||
|
||||
void setCommonNTCSensor(ThermistorConf *thermistorConf);
|
||||
void setDodgeSensor(ThermistorConf *thermistorConf);
|
||||
|
||||
#endif /* THERMISTORS_H_ */
|
||||
|
|
Loading…
Reference in New Issue