spelling is important

This commit is contained in:
Andrey 2023-09-09 19:51:09 -04:00
parent 1923c28f92
commit a2a5fda3ce
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
};