This commit is contained in:
parent
6c0c5663ac
commit
fe30aba1b5
|
@ -8,6 +8,7 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "hyundai.h"
|
#include "hyundai.h"
|
||||||
|
#include "proteus_meta.h"
|
||||||
|
|
||||||
void setHyundaiPb() {
|
void setHyundaiPb() {
|
||||||
engineConfiguration->specs.cylindersCount = 4;
|
engineConfiguration->specs.cylindersCount = 4;
|
||||||
|
@ -17,6 +18,12 @@ void setHyundaiPb() {
|
||||||
strcpy(engineConfiguration->engineCode, "Gamma");
|
strcpy(engineConfiguration->engineCode, "Gamma");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setProteusHyundaiPb() {
|
||||||
|
engineConfiguration->triggerInputPins[0] = PROTEUS_VR_1;
|
||||||
|
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_1;
|
||||||
|
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_2;
|
||||||
|
}
|
||||||
|
|
||||||
static void commonGenesisCoupe() {
|
static void commonGenesisCoupe() {
|
||||||
strncpy(config->luaScript, R"(
|
strncpy(config->luaScript, R"(
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
void setGenesisCoupeBK1();
|
void setGenesisCoupeBK1();
|
||||||
void setGenesisCoupeBK2();
|
void setGenesisCoupeBK2();
|
||||||
|
|
||||||
void setHyundaiPb();
|
void setProteusHyundaiPb();
|
||||||
|
|
|
@ -782,7 +782,7 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
||||||
proteusDcWastegateTest();
|
proteusDcWastegateTest();
|
||||||
break;
|
break;
|
||||||
case PROTEUS_HYUNDAI_PB:
|
case PROTEUS_HYUNDAI_PB:
|
||||||
setHyundaiPb();
|
setProteusHyundaiPb();
|
||||||
break;
|
break;
|
||||||
case PROTEUS_NISSAN_VQ35:
|
case PROTEUS_NISSAN_VQ35:
|
||||||
setProteusNissanVQ();
|
setProteusNissanVQ();
|
||||||
|
|
Loading…
Reference in New Issue