diff --git a/firmware/controllers/generated/signature_all.h b/firmware/controllers/generated/signature_all.h index 6ee3ff6b3f..25a03d374e 100644 --- a/firmware/controllers/generated/signature_all.h +++ b/firmware/controllers/generated/signature_all.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 401691057 -#define TS_SIGNATURE "rusEFI 2022.01.13.all.401691057" +#define SIGNATURE_HASH 1482030243 +#define TS_SIGNATURE "rusEFI 2022.01.14.all.1482030243" diff --git a/firmware/controllers/generated/signature_alphax-2chan.h b/firmware/controllers/generated/signature_alphax-2chan.h index 3cb8f8b4b9..74d40ba803 100644 --- a/firmware/controllers/generated/signature_alphax-2chan.h +++ b/firmware/controllers/generated/signature_alphax-2chan.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 2260304442 -#define TS_SIGNATURE "rusEFI 2022.01.13.alphax-2chan.2260304442" +#define SIGNATURE_HASH 3374133032 +#define TS_SIGNATURE "rusEFI 2022.01.14.alphax-2chan.3374133032" diff --git a/firmware/controllers/generated/signature_alphax-4chan.h b/firmware/controllers/generated/signature_alphax-4chan.h index 73680e3a9f..09434b3bba 100644 --- a/firmware/controllers/generated/signature_alphax-4chan.h +++ b/firmware/controllers/generated/signature_alphax-4chan.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3106658730 -#define TS_SIGNATURE "rusEFI 2022.01.13.alphax-4chan.3106658730" +#define SIGNATURE_HASH 4136596664 +#define TS_SIGNATURE "rusEFI 2022.01.14.alphax-4chan.4136596664" diff --git a/firmware/controllers/generated/signature_atlas.h b/firmware/controllers/generated/signature_atlas.h index 25fa97f62b..38ef77d623 100644 --- a/firmware/controllers/generated/signature_atlas.h +++ b/firmware/controllers/generated/signature_atlas.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 188458134 -#define TS_SIGNATURE "rusEFI 2022.01.13.atlas.188458134" +#define SIGNATURE_HASH 1151273348 +#define TS_SIGNATURE "rusEFI 2022.01.14.atlas.1151273348" diff --git a/firmware/controllers/generated/signature_f429-discovery.h b/firmware/controllers/generated/signature_f429-discovery.h index c6653af353..a9c6bd732f 100644 --- a/firmware/controllers/generated/signature_f429-discovery.h +++ b/firmware/controllers/generated/signature_f429-discovery.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 401691057 -#define TS_SIGNATURE "rusEFI 2022.01.13.f429-discovery.401691057" +#define SIGNATURE_HASH 1482030243 +#define TS_SIGNATURE "rusEFI 2022.01.14.f429-discovery.1482030243" diff --git a/firmware/controllers/generated/signature_frankenso_na6.h b/firmware/controllers/generated/signature_frankenso_na6.h index b02e7b857f..0fa817867e 100644 --- a/firmware/controllers/generated/signature_frankenso_na6.h +++ b/firmware/controllers/generated/signature_frankenso_na6.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1841497176 -#define TS_SIGNATURE "rusEFI 2022.01.13.frankenso_na6.1841497176" +#define SIGNATURE_HASH 577218890 +#define TS_SIGNATURE "rusEFI 2022.01.14.frankenso_na6.577218890" diff --git a/firmware/controllers/generated/signature_hellen-nb1.h b/firmware/controllers/generated/signature_hellen-nb1.h index afc7e990e1..4415d3141b 100644 --- a/firmware/controllers/generated/signature_hellen-nb1.h +++ b/firmware/controllers/generated/signature_hellen-nb1.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3946360680 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen-nb1.3946360680" +#define SIGNATURE_HASH 2761687674 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen-nb1.2761687674" diff --git a/firmware/controllers/generated/signature_hellen121nissan.h b/firmware/controllers/generated/signature_hellen121nissan.h index 2d7fcc7b5e..164a44adb2 100644 --- a/firmware/controllers/generated/signature_hellen121nissan.h +++ b/firmware/controllers/generated/signature_hellen121nissan.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3007316674 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen121nissan.3007316674" +#define SIGNATURE_HASH 4242845648 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen121nissan.4242845648" diff --git a/firmware/controllers/generated/signature_hellen121vag.h b/firmware/controllers/generated/signature_hellen121vag.h index 6dd1341c06..031e2140a3 100644 --- a/firmware/controllers/generated/signature_hellen121vag.h +++ b/firmware/controllers/generated/signature_hellen121vag.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1213363643 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen121vag.1213363643" +#define SIGNATURE_HASH 133617833 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen121vag.133617833" diff --git a/firmware/controllers/generated/signature_hellen128.h b/firmware/controllers/generated/signature_hellen128.h index f2d6381915..350f469188 100644 --- a/firmware/controllers/generated/signature_hellen128.h +++ b/firmware/controllers/generated/signature_hellen128.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 151775778 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen128.151775778" +#define SIGNATURE_HASH 1185892144 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen128.1185892144" diff --git a/firmware/controllers/generated/signature_hellen154hyundai.h b/firmware/controllers/generated/signature_hellen154hyundai.h index 55d33385fa..f6aa3d33bc 100644 --- a/firmware/controllers/generated/signature_hellen154hyundai.h +++ b/firmware/controllers/generated/signature_hellen154hyundai.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3689762077 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen154hyundai.3689762077" +#define SIGNATURE_HASH 2487869455 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen154hyundai.2487869455" diff --git a/firmware/controllers/generated/signature_hellen72.h b/firmware/controllers/generated/signature_hellen72.h index ea7225dc8e..4e0c4102aa 100644 --- a/firmware/controllers/generated/signature_hellen72.h +++ b/firmware/controllers/generated/signature_hellen72.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3813463553 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen72.3813463553" +#define SIGNATURE_HASH 2900917011 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen72.2900917011" diff --git a/firmware/controllers/generated/signature_hellen81.h b/firmware/controllers/generated/signature_hellen81.h index 4ffdf99349..7a05fc7b81 100644 --- a/firmware/controllers/generated/signature_hellen81.h +++ b/firmware/controllers/generated/signature_hellen81.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1463897074 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen81.1463897074" +#define SIGNATURE_HASH 417720032 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen81.417720032" diff --git a/firmware/controllers/generated/signature_hellen88bmw.h b/firmware/controllers/generated/signature_hellen88bmw.h index 9118419a22..f26f789166 100644 --- a/firmware/controllers/generated/signature_hellen88bmw.h +++ b/firmware/controllers/generated/signature_hellen88bmw.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3056713966 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen88bmw.3056713966" +#define SIGNATURE_HASH 4187319804 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen88bmw.4187319804" diff --git a/firmware/controllers/generated/signature_hellenNA6.h b/firmware/controllers/generated/signature_hellenNA6.h index e72b7f85d2..4dd40c0224 100644 --- a/firmware/controllers/generated/signature_hellenNA6.h +++ b/firmware/controllers/generated/signature_hellenNA6.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1640765209 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellenNA6.1640765209" +#define SIGNATURE_HASH 778615307 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellenNA6.778615307" diff --git a/firmware/controllers/generated/signature_hellenNA8_96.h b/firmware/controllers/generated/signature_hellenNA8_96.h index 0813056ec5..baa2d5c7a5 100644 --- a/firmware/controllers/generated/signature_hellenNA8_96.h +++ b/firmware/controllers/generated/signature_hellenNA8_96.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1010638954 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellenNA8_96.1010638954" +#define SIGNATURE_HASH 1939443064 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellenNA8_96.1939443064" diff --git a/firmware/controllers/generated/signature_hellen_cypress.h b/firmware/controllers/generated/signature_hellen_cypress.h index fe23d419d4..65201436fd 100644 --- a/firmware/controllers/generated/signature_hellen_cypress.h +++ b/firmware/controllers/generated/signature_hellen_cypress.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat null // -#define SIGNATURE_HASH 755283469 -#define TS_SIGNATURE "rusEFI 2022.01.13.hellen_cypress.755283469" +#define SIGNATURE_HASH 1654659871 +#define TS_SIGNATURE "rusEFI 2022.01.14.hellen_cypress.1654659871" diff --git a/firmware/controllers/generated/signature_kin.h b/firmware/controllers/generated/signature_kin.h index d5498eb6f3..7611da66c1 100644 --- a/firmware/controllers/generated/signature_kin.h +++ b/firmware/controllers/generated/signature_kin.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat null // -#define SIGNATURE_HASH 3533798129 -#define TS_SIGNATURE "rusEFI 2022.01.13.kin.3533798129" +#define SIGNATURE_HASH 2634405859 +#define TS_SIGNATURE "rusEFI 2022.01.14.kin.2634405859" diff --git a/firmware/controllers/generated/signature_mre_f4.h b/firmware/controllers/generated/signature_mre_f4.h index 0dfa40335e..39687a443c 100644 --- a/firmware/controllers/generated/signature_mre_f4.h +++ b/firmware/controllers/generated/signature_mre_f4.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 315230325 -#define TS_SIGNATURE "rusEFI 2022.01.13.mre_f4.315230325" +#define SIGNATURE_HASH 1567532391 +#define TS_SIGNATURE "rusEFI 2022.01.14.mre_f4.1567532391" diff --git a/firmware/controllers/generated/signature_mre_f7.h b/firmware/controllers/generated/signature_mre_f7.h index bd73803c2b..6723bd0c21 100644 --- a/firmware/controllers/generated/signature_mre_f7.h +++ b/firmware/controllers/generated/signature_mre_f7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 315230325 -#define TS_SIGNATURE "rusEFI 2022.01.13.mre_f7.315230325" +#define SIGNATURE_HASH 1567532391 +#define TS_SIGNATURE "rusEFI 2022.01.14.mre_f7.1567532391" diff --git a/firmware/controllers/generated/signature_prometheus_405.h b/firmware/controllers/generated/signature_prometheus_405.h index 08a5f16d83..1bd741df9c 100644 --- a/firmware/controllers/generated/signature_prometheus_405.h +++ b/firmware/controllers/generated/signature_prometheus_405.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1192986711 -#define TS_SIGNATURE "rusEFI 2022.01.13.prometheus_405.1192986711" +#define SIGNATURE_HASH 146744645 +#define TS_SIGNATURE "rusEFI 2022.01.14.prometheus_405.146744645" diff --git a/firmware/controllers/generated/signature_prometheus_469.h b/firmware/controllers/generated/signature_prometheus_469.h index cb98b6c904..54bcfd2071 100644 --- a/firmware/controllers/generated/signature_prometheus_469.h +++ b/firmware/controllers/generated/signature_prometheus_469.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1192986711 -#define TS_SIGNATURE "rusEFI 2022.01.13.prometheus_469.1192986711" +#define SIGNATURE_HASH 146744645 +#define TS_SIGNATURE "rusEFI 2022.01.14.prometheus_469.146744645" diff --git a/firmware/controllers/generated/signature_proteus_f4.h b/firmware/controllers/generated/signature_proteus_f4.h index 70c8d813dc..869fa54fd9 100644 --- a/firmware/controllers/generated/signature_proteus_f4.h +++ b/firmware/controllers/generated/signature_proteus_f4.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3574380397 -#define TS_SIGNATURE "rusEFI 2022.01.13.proteus_f4.3574380397" +#define SIGNATURE_HASH 2594708095 +#define TS_SIGNATURE "rusEFI 2022.01.14.proteus_f4.2594708095" diff --git a/firmware/controllers/generated/signature_proteus_f7.h b/firmware/controllers/generated/signature_proteus_f7.h index 70a0661f10..b1bf51e71d 100644 --- a/firmware/controllers/generated/signature_proteus_f7.h +++ b/firmware/controllers/generated/signature_proteus_f7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3574380397 -#define TS_SIGNATURE "rusEFI 2022.01.13.proteus_f7.3574380397" +#define SIGNATURE_HASH 2594708095 +#define TS_SIGNATURE "rusEFI 2022.01.14.proteus_f7.2594708095" diff --git a/firmware/controllers/generated/signature_subaru_eg33_f7.h b/firmware/controllers/generated/signature_subaru_eg33_f7.h index a1a4cd539c..a386f5e404 100644 --- a/firmware/controllers/generated/signature_subaru_eg33_f7.h +++ b/firmware/controllers/generated/signature_subaru_eg33_f7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on config/boards/subaru_eg33/config/gen_config.sh null // -#define SIGNATURE_HASH 3561703393 -#define TS_SIGNATURE "rusEFI 2022.01.13.subaru_eg33_f7.3561703393" +#define SIGNATURE_HASH 2616191731 +#define TS_SIGNATURE "rusEFI 2022.01.14.subaru_eg33_f7.2616191731" diff --git a/firmware/controllers/lua/generated/value_lookup_generated.cpp b/firmware/controllers/lua/generated/value_lookup_generated.cpp index 2cf1af583a..24216c96ff 100644 --- a/firmware/controllers/lua/generated/value_lookup_generated.cpp +++ b/firmware/controllers/lua/generated/value_lookup_generated.cpp @@ -236,6 +236,10 @@ float getConfigValueByName(const char *name) { return engineConfiguration->idle_antiwindupFreq; if (strEqualCaseInsensitive(name, "acIdleExtraOffset")) return engineConfiguration->acIdleExtraOffset; + if (strEqualCaseInsensitive(name, "finalGearRatio")) + return engineConfiguration->finalGearRatio; + if (strEqualCaseInsensitive(name, "wheelDiameter")) + return engineConfiguration->wheelDiameter; if (strEqualCaseInsensitive(name, "wastegatePositionMin")) return engineConfiguration->wastegatePositionMin; if (strEqualCaseInsensitive(name, "wastegatePositionMax")) @@ -1495,6 +1499,16 @@ void setConfigValueByName(const char *name, float value) { engineConfiguration->acIdleExtraOffset = (int)value; return; } + if (strEqualCaseInsensitive(name, "finalGearRatio")) + { + engineConfiguration->finalGearRatio = (int)value; + return; + } + if (strEqualCaseInsensitive(name, "wheelDiameter")) + { + engineConfiguration->wheelDiameter = (int)value; + return; + } if (strEqualCaseInsensitive(name, "wastegatePositionMin")) { engineConfiguration->wastegatePositionMin = (int)value;