looks like initialState was dead #55

(cherry picked from commit daaf50c2e4)
This commit is contained in:
Matthew Kennedy 2023-05-31 02:05:26 -04:00 committed by rusefillc
parent 12a29232cc
commit f12cab93aa
2 changed files with 0 additions and 5 deletions

View File

@ -68,7 +68,6 @@ void TriggerWaveform::initialize(operation_mode_e operationMode, SyncEdge syncEd
this->operationMode = operationMode;
this->syncEdge = syncEdge;
triggerShapeSynchPointIndex = 0;
memset(initialState, 0, sizeof(initialState));
memset(expectedEventCount, 0, sizeof(expectedEventCount));
wave.reset();
wave.waveCount = TRIGGER_INPUT_PIN_COUNT;

View File

@ -164,10 +164,6 @@ public:
*/
MultiChannelStateSequenceWithData<PWM_PHASE_MAX_COUNT> wave;
// todo: add a runtime validation which would verify that this field was set properly
// todo: maybe even automate this flag calculation?
pin_state_t initialState[PWM_PHASE_MAX_WAVE_PER_PWM];
bool isRiseEvent[PWM_PHASE_MAX_COUNT];
/**