adding simplicity
This commit is contained in:
parent
1576a9f731
commit
a81655216b
|
@ -34,7 +34,3 @@ void initDataStructures(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
initTimingMap(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
initSpeedDensity(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
}
|
||||
|
||||
void initAlgo(Logging *sharedLogger) {
|
||||
initInterpolation(sharedLogger);
|
||||
}
|
||||
|
|
|
@ -2,12 +2,11 @@
|
|||
* @file algo.h
|
||||
*
|
||||
* @date Mar 2, 2014
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
* @author Andrey Belomutskiy, (c) 2012-2019
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
#include "engine_configuration.h"
|
||||
|
||||
void initDataStructures(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
void initAlgo(Logging *sharedLogger);
|
||||
|
|
|
@ -660,6 +660,8 @@ static void getKnockInfo(void) {
|
|||
|
||||
// this method is used by real firmware and simulator and unit test
|
||||
void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||
initInterpolation(sharedLogger);
|
||||
|
||||
#if EFI_SIMULATOR
|
||||
printf("commonInitEngineController\n");
|
||||
#endif
|
||||
|
@ -708,8 +710,6 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
|
|||
initPwmGenerator();
|
||||
#endif
|
||||
|
||||
initAlgo(sharedLogger);
|
||||
|
||||
#if EFI_LOGIC_ANALYZER
|
||||
if (engineConfiguration->isWaveAnalyzerEnabled) {
|
||||
initWaveAnalyzer(sharedLogger);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* @brief Controllers package entry point header
|
||||
*
|
||||
* @date Feb 7, 2013
|
||||
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||
* @author Andrey Belomutskiy, (c) 2012-2019
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -121,7 +121,6 @@ void rusEfiFunctionalTest(void) {
|
|||
resetConfigurationExt(NULL, FORD_ESCORT_GT PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
prepareShapes(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
initAlgo(&sharedLogger);
|
||||
commonInitEngineController(&sharedLogger);
|
||||
|
||||
initRpmCalculator(&sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
|
Loading…
Reference in New Issue