it's going to be p

This commit is contained in:
rusefillc 2023-05-31 16:20:54 -04:00
parent f12cab93aa
commit ad52947775
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ void TriggerWaveform::addEvent(angle_t angle, TriggerValue const state, TriggerW
if (wave.phaseCount == 0) {
wave.phaseCount = 1;
for (int i = 0; i < PWM_PHASE_MAX_WAVE_PER_PWM; i++) {
wave.setChannelState(i, /* switchIndex */ 0, /* value */ initialState[i]);
wave.setChannelState(i, /* switchIndex */ 0, TriggerValue::FALL);
}
isRiseEvent[0] = TriggerValue::RISE == state;