knock v12
This commit is contained in:
parent
f96ae7525f
commit
ff765f5f5d
|
@ -74,9 +74,11 @@
|
||||||
|
|
||||||
#include "bmw_m73.h"
|
#include "bmw_m73.h"
|
||||||
#include "custom_engine.h"
|
#include "custom_engine.h"
|
||||||
|
#include "hip9011_logic.h"
|
||||||
|
|
||||||
#if EFI_ELECTRONIC_THROTTLE_BODY
|
#if EFI_ELECTRONIC_THROTTLE_BODY
|
||||||
#include "electronic_throttle.h"
|
#include "electronic_throttle.h"
|
||||||
#endif
|
#endif // EFI_ELECTRONIC_THROTTLE_BODY
|
||||||
|
|
||||||
EXTERN_CONFIG;
|
EXTERN_CONFIG;
|
||||||
|
|
||||||
|
@ -106,6 +108,9 @@ void m73engine(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
// set cranking_fuel 15
|
// set cranking_fuel 15
|
||||||
engineConfiguration->cranking.baseFuel = 30;
|
engineConfiguration->cranking.baseFuel = 30;
|
||||||
|
|
||||||
|
engineConfiguration->cylinderBore = 85.0;
|
||||||
|
engineConfiguration->knockBandCustom = BAND(engineConfiguration->cylinderBore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,6 @@ void HIP9011::setStateAndCommand(unsigned char cmd) {
|
||||||
hardware->sendCommand(cmd);
|
hardware->sendCommand(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BAND(bore) (900 / (PIF * (bore) / 2))
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return frequency band we are interested in
|
* @return frequency band we are interested in
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* @file HIP9011_logic.h
|
* @file hip9011_logic.h
|
||||||
*
|
*
|
||||||
* Created on: Jan 3, 2019
|
* Created on: Jan 3, 2019
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2020
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||||
|
@ -11,6 +11,8 @@
|
||||||
#include "rusefi_enums.h"
|
#include "rusefi_enums.h"
|
||||||
#include "hip9011_lookup.h"
|
#include "hip9011_lookup.h"
|
||||||
|
|
||||||
|
#define BAND(bore) (900 / (PIF * (bore) / 2))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* this interface defines hardware communication layer for HIP9011 chip
|
* this interface defines hardware communication layer for HIP9011 chip
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue