This commit is contained in:
rusefi 2020-08-26 17:37:15 -04:00
parent 0c5db46438
commit c27a79760c
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ void TriggerStateWithRunningStatistics::runtimeStatistics(TriggerFormDetails *tr
} }
} }
bool TriggerState::isValidIndex(TriggerWaveform *triggerShape) const { bool TriggerState::isValidIndex(const TriggerWaveform *triggerShape) const {
return currentCycle.current_index < triggerShape->getSize(); return currentCycle.current_index < triggerShape->getSize();
} }

View File

@ -91,7 +91,7 @@ public:
const efitick_t nowNt, const efitick_t nowNt,
const TriggerWaveform *triggerShape); const TriggerWaveform *triggerShape);
bool isValidIndex(TriggerWaveform *triggerShape) const; bool isValidIndex(const TriggerWaveform *triggerShape) const;
/** /**
* TRUE if we know where we are * TRUE if we know where we are