looks like initialState was dead #55
(cherry picked from commit daaf50c2e45de84b9a47716ff253d744caeb34b8)
This commit is contained in:
parent
12a29232cc
commit
f12cab93aa
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue