diff --git a/Plugins/LfpDisplayNode/LfpDisplayNode.cpp b/Plugins/LfpDisplayNode/LfpDisplayNode.cpp index c6b027847..2086326a5 100644 --- a/Plugins/LfpDisplayNode/LfpDisplayNode.cpp +++ b/Plugins/LfpDisplayNode/LfpDisplayNode.cpp @@ -278,7 +278,8 @@ void LfpDisplayNode::handleTTLEvent(TTLEventPtr event) void LfpDisplayNode::initializeEventChannels() { - latestCurrentTrigger.insertMultiple(0, -1, 3); // reset to -1 + for (int i = 0; i < 3; i++) + latestCurrentTrigger.set(i, -1); // reset to -1 for (auto displayBuffer : displayBuffers) {