We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cbc3b1 commit 6ff4677Copy full SHA for 6ff4677
1 file changed
Source/Processors/PSTH/PeriStimulusTimeHistogramNode.cpp
@@ -133,7 +133,10 @@ void PeriStimulusTimeHistogramNode::updateSettings()
133
134
void PeriStimulusTimeHistogramNode::setHardwareTriggerAlignmentChannel(int chan)
135
{
136
- trialCircularBuffer->setHardwareTriggerAlignmentChannel(chan);
+ if (trialCircularBuffer != nullptr)
137
+ {
138
+ trialCircularBuffer->setHardwareTriggerAlignmentChannel(chan);
139
+ }
140
}
141
142
bool PeriStimulusTimeHistogramNode::enable()
0 commit comments