This commit is contained in:
parent
6c0c5663ac
commit
fe30aba1b5
|
@ -8,6 +8,7 @@
|
|||
#include "pch.h"
|
||||
|
||||
#include "hyundai.h"
|
||||
#include "proteus_meta.h"
|
||||
|
||||
void setHyundaiPb() {
|
||||
engineConfiguration->specs.cylindersCount = 4;
|
||||
|
@ -17,6 +18,12 @@ void setHyundaiPb() {
|
|||
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() {
|
||||
strncpy(config->luaScript, R"(
|
||||
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
void setGenesisCoupeBK1();
|
||||
void setGenesisCoupeBK2();
|
||||
|
||||
void setHyundaiPb();
|
||||
void setProteusHyundaiPb();
|
||||
|
|
|
@ -782,7 +782,7 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
|||
proteusDcWastegateTest();
|
||||
break;
|
||||
case PROTEUS_HYUNDAI_PB:
|
||||
setHyundaiPb();
|
||||
setProteusHyundaiPb();
|
||||
break;
|
||||
case PROTEUS_NISSAN_VQ35:
|
||||
setProteusNissanVQ();
|
||||
|
|
Loading…
Reference in New Issue