mirror of https://github.com/rusefi/rusefi-1.git
Honda K
This commit is contained in:
parent
95d0b8eb97
commit
bfc4ed4df6
|
@ -51,3 +51,8 @@
|
|||
#define PROTEUS_VR_2 GPIOE_8
|
||||
|
||||
#define PROTEUS_DIGITAL_1 GPIOC_6
|
||||
#define PROTEUS_DIGITAL_2 GPIOE_11
|
||||
#define PROTEUS_DIGITAL_3 GPIOE_12
|
||||
#define PROTEUS_DIGITAL_4 GPIOE_14
|
||||
#define PROTEUS_DIGITAL_5 GPIOE_13
|
||||
#define PROTEUS_DIGITAL_6 GPIOE_15
|
||||
|
|
|
@ -11,10 +11,23 @@
|
|||
#include "proteus_meta.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* PROTEUS_HONDA_ELEMENT_2003
|
||||
*/
|
||||
void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
engineConfiguration->specs.cylindersCount = 4;
|
||||
engineConfiguration->specs.displacement = 2.4;
|
||||
engineConfiguration->trigger.type = TT_HONDA_K_12_1;
|
||||
|
||||
strcpy(CONFIG(engineMake), ENGINE_MAKE_HONDA);
|
||||
strcpy(CONFIG(engineCode), "K24");
|
||||
strcpy(CONFIG(vehicleName), "test");
|
||||
|
||||
#if HW_PROTEUS & EFI_PROD_CODE
|
||||
engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_2;
|
||||
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_4;
|
||||
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = PROTEUS_DIGITAL_1;
|
||||
#endif
|
||||
}
|
||||
|
||||
void setProteusHondaOBD2A(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
|
|
Loading…
Reference in New Issue