removing dead parameter
This commit is contained in:
parent
b059e9defb
commit
d256fd2b01
|
@ -215,7 +215,7 @@ void RpmCalculator::setSpinningUp(efitick_t nowNt) {
|
|||
/**
|
||||
* Update ignition pin indices if needed. Here we potentially switch to wasted spark temporarily.
|
||||
*/
|
||||
prepareIgnitionPinIndices(getCurrentIgnitionMode());
|
||||
prepareIgnitionPinIndices();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -399,8 +399,7 @@ static int getIgnitionPinForIndex(int cylinderIndex) {
|
|||
}
|
||||
}
|
||||
|
||||
void prepareIgnitionPinIndices(ignition_mode_e ignitionMode) {
|
||||
(void)ignitionMode;
|
||||
void prepareIgnitionPinIndices() {
|
||||
#if EFI_ENGINE_CONTROL
|
||||
for (size_t cylinderIndex = 0; cylinderIndex < engineConfiguration->specs.cylindersCount; cylinderIndex++) {
|
||||
engine->ignitionPin[cylinderIndex] = getIgnitionPinForIndex(cylinderIndex);
|
||||
|
@ -452,7 +451,7 @@ void prepareOutputSignals() {
|
|||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
prepareIgnitionPinIndices(engineConfiguration->ignitionMode);
|
||||
prepareIgnitionPinIndices();
|
||||
|
||||
TRIGGER_WAVEFORM(prepareShape(engine->triggerCentral.triggerFormDetails));
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ ignition_mode_e getCurrentIgnitionMode();
|
|||
* This lightweight method is invoked in case of a configuration change or initialization.
|
||||
* But also it's used for "Spinning-up to Cranking" transition.
|
||||
*/
|
||||
void prepareIgnitionPinIndices(ignition_mode_e ignitionMode);
|
||||
void prepareIgnitionPinIndices();
|
||||
|
||||
size_t getCylinderId(size_t index);
|
||||
size_t getNextFiringCylinderId(size_t prevCylinderId);
|
||||
|
|
Loading…
Reference in New Issue