Skip to content

Commit

Permalink
Ignore sync monitor UI in headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Oct 13, 2024
1 parent 1f43971 commit 4688209
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/Processors/RecordNode/RecordNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,8 @@ bool RecordNode::startAcquisition()
eventChannels.getLast()->setDataStream (getDataStream (synchronizer.mainStreamKey), false);
}

startTimer (1000);
if (!headlessMode)
startTimer (1000);

return true;
}
Expand Down Expand Up @@ -649,7 +650,8 @@ bool RecordNode::stopAcquisition()
eventQueue->reset();
spikeQueue->reset();

stopTimer();
if (!headlessMode)
stopTimer();

return true;
}
Expand Down

0 comments on commit 4688209

Please sign in to comment.