diff --git a/firmware/config/engines/mazda_miata_1_6.cpp b/firmware/config/engines/mazda_miata_1_6.cpp index 699d8ea8f5..aac3d40a48 100644 --- a/firmware/config/engines/mazda_miata_1_6.cpp +++ b/firmware/config/engines/mazda_miata_1_6.cpp @@ -18,6 +18,15 @@ EXTERN_ENGINE; void setMiataNA_1_6_Configuration(DECLARE_ENGINE_PARAMETER_F) { setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_F); + engineConfiguration->map.sensor.hwChannel = EFI_ADC_NONE; + engineConfiguration->mafAdcChannel = EFI_ADC_0; + + +// // set_cranking_fuel 9 +// engineConfiguration->cranking.baseFuel = 9; + + // engine sniffer 200 + engineConfiguration->trigger.type = TT_MAZDA_MIATA_NA; engineConfiguration->specs.displacement = 1.6; diff --git a/firmware/controllers/trigger/trigger_mazda.cpp b/firmware/controllers/trigger/trigger_mazda.cpp index d1e2c0dccf..8608a99c79 100644 --- a/firmware/controllers/trigger/trigger_mazda.cpp +++ b/firmware/controllers/trigger/trigger_mazda.cpp @@ -22,7 +22,7 @@ void initializeMazdaMiataNaShape(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) { s->initialize(FOUR_STROKE_CAM_SENSOR, true); - s->setTriggerSynchronizationGap(MIATA_NA_GAP); + s->setTriggerSynchronizationGap2(1.4930 * 0.7f, 1.4930 * 1.25f); s->useRiseEdge = false; s->tdcPosition = 294; diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 96c56be55e..a2a4aa93df 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -298,5 +298,5 @@ int getRusEfiVersion(void) { return 123; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE[0] * 0 != 0) return 3211; // this is here to make the compiler happy about the unused array - return 20160613; + return 20160614; } diff --git a/firmware/svnversion.h b/firmware/svnversion.h index eb947fcb70..8fded2c9a6 100644 --- a/firmware/svnversion.h +++ b/firmware/svnversion.h @@ -1,5 +1,5 @@ // This file was generated by Version2Header -// Sun Jun 12 22:48:54 EDT 2016 +// Tue Jun 14 22:47:13 EDT 2016 #ifndef VCS_VERSION -#define VCS_VERSION "10021" +#define VCS_VERSION "10041" #endif