diff --git a/firmware/controllers/algo/algo.cpp b/firmware/controllers/algo/algo.cpp index f802572ce0..9c5c3988a9 100644 --- a/firmware/controllers/algo/algo.cpp +++ b/firmware/controllers/algo/algo.cpp @@ -39,8 +39,4 @@ void initDataStructures(DECLARE_ENGINE_PARAMETER_SIGNATURE) { void initAlgo(Logging *sharedLogger) { initInterpolation(sharedLogger); -#if EFI_SIMULATOR - // todo: this is a mess, remove code duplication with PROD - initSettings(); -#endif } diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index d7ab39aed1..413629334d 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -556,6 +556,9 @@ static void getKnockInfo(void) { // this method is used by real firmware and simulator void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) { +#if EFI_SIMULATOR + printf("commonInitEngineController\n"); +#endif initConfigActions(); initMockVoltage(); @@ -592,6 +595,9 @@ void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S } void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) { +#if EFI_SIMULATOR + printf("initEngineContoller\n"); +#endif addConsoleAction("analoginfo", printAnalogInfo); commonInitEngineController(sharedLogger); diff --git a/firmware/development/sensor_chart.cpp b/firmware/development/sensor_chart.cpp index 0e23b0996d..d88956915c 100644 --- a/firmware/development/sensor_chart.cpp +++ b/firmware/development/sensor_chart.cpp @@ -71,6 +71,9 @@ static void setSensorChartFrequency(int value) { } void initSensorChart(void) { +#if EFI_SIMULATOR + printf("initSensorChart\n"); +#endif addConsoleActionI("set_sensor_chart_freq", setSensorChartFrequency); initialized = true;