From 84132023969a9d3c5659c06288542e1a97649001 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 13 Apr 2022 21:51:15 -0400 Subject: [PATCH] random typo --- firmware/controllers/core/state_sequence.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/core/state_sequence.cpp b/firmware/controllers/core/state_sequence.cpp index a0868bde54..610a5b0f55 100644 --- a/firmware/controllers/core/state_sequence.cpp +++ b/firmware/controllers/core/state_sequence.cpp @@ -12,11 +12,11 @@ void MultiChannelStateSequence::checkSwitchTimes(const float scale) const { efiAssertVoid(CUSTOM_ERR_WAVE_1, phaseCount > 0, "StateSequence cannot be empty"); if (getSwitchTime(phaseCount - 1) != 1) { -#if EFI_UNIT_TESTS +#if EFI_UNIT_TEST for (int index = 0;index < phaseCount;index ++) { printf("switch time index=%d angle=%f\n", index, getSwitchTime(index)); } -#endif // EFI_UNIT_TESTS +#endif // EFI_UNIT_TEST firmwareError(CUSTOM_ERR_WAVE_1, "[count=%d] last switch time has to be 1/%f not %.2f/%f", phaseCount,