random typo

This commit is contained in:
Andrey 2022-04-13 21:51:15 -04:00
parent 7c5e8c8fb8
commit 8413202396
1 changed files with 2 additions and 2 deletions

View File

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