mirror of https://github.com/rusefi/rusefi-1.git
refactoring
This commit is contained in:
parent
2b50a0afa6
commit
07be62b9e3
|
@ -123,7 +123,7 @@ static efitimeus_t togglePwmState(PwmConfig *state) {
|
||||||
efitimeus_t nextSwitchTimeUs = getNextSwitchTimeUs(state);
|
efitimeus_t nextSwitchTimeUs = getNextSwitchTimeUs(state);
|
||||||
#if DEBUG_PWM
|
#if DEBUG_PWM
|
||||||
scheduleMsg(&logger, "%s: nextSwitchTime %d", state->name, nextSwitchTime);
|
scheduleMsg(&logger, "%s: nextSwitchTime %d", state->name, nextSwitchTime);
|
||||||
#endif
|
#endif /* DEBUG_PWM */
|
||||||
// signed value is needed here
|
// signed value is needed here
|
||||||
// int64_t timeToSwitch = nextSwitchTimeUs - getTimeNowUs();
|
// int64_t timeToSwitch = nextSwitchTimeUs - getTimeNowUs();
|
||||||
// if (timeToSwitch < 1) {
|
// if (timeToSwitch < 1) {
|
||||||
|
|
Loading…
Reference in New Issue