mirror of https://github.com/rusefi/rusefi.git
spelling is important
This commit is contained in:
parent
1923c28f92
commit
a2a5fda3ce
|
@ -356,7 +356,7 @@ void Engine::OnTriggerSynchronizationLost() {
|
|||
}
|
||||
}
|
||||
|
||||
void Engine::OnTriggerSyncronization(bool wasSynchronized, bool isDecodingError) {
|
||||
void Engine::OnTriggerSynchronization(bool wasSynchronized, bool isDecodingError) {
|
||||
// TODO: this logic probably shouldn't be part of engine.cpp
|
||||
|
||||
// We only care about trigger shape once we have synchronized trigger. Anything could happen
|
||||
|
|
|
@ -205,7 +205,7 @@ public:
|
|||
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
void OnTriggerStateProperState(efitick_t nowNt) override;
|
||||
void OnTriggerSyncronization(bool wasSynchronized, bool isDecodingError) override;
|
||||
void OnTriggerSynchronization(bool wasSynchronized, bool isDecodingError) override;
|
||||
void OnTriggerSynchronizationLost() override;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -557,7 +557,7 @@ expected<TriggerDecodeResult> TriggerDecoderBase::decodeTriggerEvent(
|
|||
bool isDecodingError = validateEventCounters(triggerShape);
|
||||
|
||||
if (triggerStateListener) {
|
||||
triggerStateListener->OnTriggerSyncronization(wasSynchronized, isDecodingError);
|
||||
triggerStateListener->OnTriggerSynchronization(wasSynchronized, isDecodingError);
|
||||
}
|
||||
|
||||
// If we got a sync point, but the wrong number of events since the last sync point
|
||||
|
|
|
@ -18,7 +18,7 @@ const char *getTrigger_value_e(TriggerValue value);
|
|||
struct TriggerStateListener {
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
virtual void OnTriggerStateProperState(efitick_t nowNt) = 0;
|
||||
virtual void OnTriggerSyncronization(bool wasSynchronized, bool isDecodingError) = 0;
|
||||
virtual void OnTriggerSynchronization(bool wasSynchronized, bool isDecodingError) = 0;
|
||||
virtual void OnTriggerSynchronizationLost() = 0;
|
||||
#endif // EFI_SHAFT_POSITION_INPUT
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue