From 38092270e62dde10269573358ff7f2ef7e101037 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Fri, 4 Nov 2016 06:03:31 -0400 Subject: [PATCH] auto-sync --- firmware/controllers/settings.cpp | 2 ++ firmware/rusefi.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index b34678082f..17707114d8 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -306,6 +306,8 @@ static void setTimingMode(int value) { } void setEngineType(int value) { + enginePins.stopPins(); + engineConfiguration->engineType = (engine_type_e) value; resetConfigurationExt(&logger, (engine_type_e) value PASS_ENGINE_PARAMETER); #if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__) diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 84c2d97d43..ecc7a2c5db 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -290,5 +290,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 20161102; + return 20161104; }