This commit is contained in:
rusefillc 2023-04-20 16:52:49 -04:00
parent 6c0c5663ac
commit fe30aba1b5
3 changed files with 9 additions and 2 deletions

View File

@ -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"(

View File

@ -10,4 +10,4 @@
void setGenesisCoupeBK1();
void setGenesisCoupeBK2();
void setHyundaiPb();
void setProteusHyundaiPb();

View File

@ -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();