unused parameter

This commit is contained in:
rusefi 2018-02-06 01:44:10 +03:00
parent f02258538a
commit 9823e83a3d
4 changed files with 6 additions and 6 deletions

View File

@ -690,7 +690,7 @@ uint32_t findTriggerZeroEventIndex(TriggerState *state, TriggerShape * shape,
*/ */
state->triggerCycleCallback = onFindIndexCallback; state->triggerCycleCallback = onFindIndexCallback;
helper.assertSyncPositionAndSetDutyCycle(syncIndex, state, shape, triggerConfig PASS_ENGINE_PARAMETER_SUFFIX); helper.assertSyncPositionAndSetDutyCycle(syncIndex, state, shape PASS_ENGINE_PARAMETER_SUFFIX);
isInitializingTrigger = false; isInitializingTrigger = false;
return syncIndex % shape->getSize(); return syncIndex % shape->getSize();

View File

@ -80,8 +80,8 @@ void TriggerStimulatorHelper::feedSimulatedEvent(TriggerState *state, TriggerSha
} }
} }
void TriggerStimulatorHelper::assertSyncPositionAndSetDutyCycle(const uint32_t syncIndex, TriggerState *state, TriggerShape * shape, void TriggerStimulatorHelper::assertSyncPositionAndSetDutyCycle(const uint32_t syncIndex, TriggerState *state, TriggerShape * shape
trigger_config_s const*triggerConfig DECLARE_ENGINE_PARAMETER_SUFFIX) { DECLARE_ENGINE_PARAMETER_SUFFIX) {
/** /**
* let's feed two more cycles to validate shape definition * let's feed two more cycles to validate shape definition

View File

@ -18,8 +18,8 @@ public:
uint32_t findTriggerSyncPoint(TriggerShape * shape, uint32_t findTriggerSyncPoint(TriggerShape * shape,
TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX); TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX);
void assertSyncPositionAndSetDutyCycle(const uint32_t index, TriggerState *state, TriggerShape * shape, void assertSyncPositionAndSetDutyCycle(const uint32_t index, TriggerState *state, TriggerShape * shape
trigger_config_s const*triggerConfig DECLARE_ENGINE_PARAMETER_SUFFIX); DECLARE_ENGINE_PARAMETER_SUFFIX);
private: private:
// send next event so that we can see how state reacts // send next event so that we can see how state reacts

View File

@ -276,5 +276,5 @@ int getRusEfiVersion(void) {
if (initBootloader() != 0) if (initBootloader() != 0)
return 123; return 123;
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */ #endif /* EFI_BOOTLOADER_INCLUDE_CODE */
return 20180203; return 20180204;
} }