From d7ade2d995623b4090a59a353b3b131f5b8ee26d Mon Sep 17 00:00:00 2001 From: rusEfi Date: Mon, 18 Jan 2016 22:01:26 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/engine_controller.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index 6dd077fef5..3022790328 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -465,6 +465,11 @@ static void getKnockInfo(void) { // this method is used by real firmware and simulator void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S) { initConfigActions(); + +#if EFI_PROD_CODE || EFI_SIMULATOR + initSignalExecutor(); +#endif + #if EFI_PROD_CODE // todo: this is a mess, remove code duplication with simulator initSettings(engineConfiguration); @@ -488,9 +493,6 @@ void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S) { addConsoleAction("analoginfo", printAnalogInfo); -#if EFI_PROD_CODE || EFI_SIMULATOR - initSignalExecutor(); -#endif commonInitEngineController(sharedLogger); if (hasFirmwareError()) {