random typo
This commit is contained in:
parent
f7e2d5a4d2
commit
67c45a54bc
|
@ -12,11 +12,11 @@
|
||||||
void MultiChannelStateSequence::checkSwitchTimes(const float scale) const {
|
void MultiChannelStateSequence::checkSwitchTimes(const float scale) const {
|
||||||
efiAssertVoid(CUSTOM_ERR_WAVE_1, phaseCount > 0, "StateSequence cannot be empty");
|
efiAssertVoid(CUSTOM_ERR_WAVE_1, phaseCount > 0, "StateSequence cannot be empty");
|
||||||
if (getSwitchTime(phaseCount - 1) != 1) {
|
if (getSwitchTime(phaseCount - 1) != 1) {
|
||||||
#if EFI_UNIT_TESTS
|
#if EFI_UNIT_TEST
|
||||||
for (int index = 0;index < phaseCount;index ++) {
|
for (int index = 0;index < phaseCount;index ++) {
|
||||||
printf("switch time index=%d angle=%f\n", index, getSwitchTime(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",
|
firmwareError(CUSTOM_ERR_WAVE_1, "[count=%d] last switch time has to be 1/%f not %.2f/%f",
|
||||||
phaseCount,
|
phaseCount,
|
||||||
|
|
Loading…
Reference in New Issue