removing unused parameter
This commit is contained in:
parent
fcddd26a39
commit
af4d571e78
|
@ -35,10 +35,10 @@ void initDataStructures(DECLARE_ENGINE_PARAMETER_F) {
|
|||
initSpeedDensity(PASS_ENGINE_PARAMETER_F);
|
||||
}
|
||||
|
||||
void initAlgo(Logging *sharedLogger, const engine_configuration_s *engineConfiguration) {
|
||||
void initAlgo(Logging *sharedLogger) {
|
||||
initInterpolation(sharedLogger);
|
||||
#if EFI_SIMULATOR
|
||||
// todo: this is a mess, remove code duplication with PROD
|
||||
initSettings(engineConfiguration);
|
||||
initSettings();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
#include "main.h"
|
||||
#include "engine_configuration.h"
|
||||
void initDataStructures(DECLARE_ENGINE_PARAMETER_F);
|
||||
void initAlgo(Logging *sharedLogger, const engine_configuration_s *engineConfiguration);
|
||||
void initAlgo(Logging *sharedLogger);
|
||||
|
||||
#endif /* ALGO_H_ */
|
||||
|
|
|
@ -523,7 +523,7 @@ void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S
|
|||
|
||||
#if EFI_PROD_CODE || EFI_SIMULATOR || defined(__DOXYGEN__)
|
||||
// todo: this is a mess, remove code duplication with simulator
|
||||
initSettings(engineConfiguration);
|
||||
initSettings();
|
||||
#endif
|
||||
|
||||
#if EFI_TUNER_STUDIO || defined(__DOXYGEN__)
|
||||
|
@ -555,7 +555,7 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S) {
|
|||
initPwmGenerator();
|
||||
#endif
|
||||
|
||||
initAlgo(sharedLogger, engineConfiguration);
|
||||
initAlgo(sharedLogger);
|
||||
|
||||
#if EFI_WAVE_ANALYZER || defined(__DOXYGEN__)
|
||||
if (engineConfiguration->isWaveAnalyzerEnabled) {
|
||||
|
|
|
@ -1149,7 +1149,7 @@ static void setValue(const char *paramStr, const char *valueStr) {
|
|||
}
|
||||
}
|
||||
|
||||
void initSettings(const engine_configuration_s *engineConfiguration) {
|
||||
void initSettings(void) {
|
||||
// todo: start saving values into flash right away?
|
||||
|
||||
addConsoleActionP("showconfig", (VoidPtr) doPrintConfiguration, &engine);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "engine.h"
|
||||
|
||||
void initSettings(const engine_configuration_s *engineConfiguration);
|
||||
void initSettings(void);
|
||||
void printSpiState(Logging *logger, board_configuration_s *boardConfiguration);
|
||||
void printConfiguration(const engine_configuration_s *engineConfiguration);
|
||||
void stopEngine(void);
|
||||
|
|
Loading…
Reference in New Issue