This commit is contained in:
rusefillc 2023-04-19 20:58:26 -04:00
parent 9bc775de43
commit 73f7a4bdb5
3 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,11 @@
#include "hyundai.h"
void setHyundaiPb() {
engineConfiguration->specs.cylindersCount = 4;
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
engineConfiguration->specs.displacement = 1.6;
strcpy(engineConfiguration->engineMake, ENGINE_MAKE_Hyundai);
strcpy(engineConfiguration->engineCode, "Gamma");
}
static void commonGenesisCoupe() {

View File

@ -781,6 +781,9 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
case WASTEGATE_PROTEUS_TEST:
proteusDcWastegateTest();
break;
case PROTEUS_HYUNDAI_PB:
setHyundaiPb();
break;
case PROTEUS_NISSAN_VQ35:
setProteusNissanVQ();
break;

View File

@ -231,6 +231,8 @@ typedef enum __attribute__ ((__packed__)) {
PROTEUS_NISSAN_VQ35 = 103,
PROTEUS_HYUNDAI_PB = 104,
// java code generator handles this value in a special way
// also looks like 2 enums are either 1 byte or 4 bytes
Force_4_bytes_size_engine_type = 70000,