Skip to content

Commit 380f3f3

Browse files
committed
Fix timestamps only being saved on the first kwd file
1 parent 937a8c7 commit 380f3f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Plugins/KWIKFormat/RecordEngine/HDF5Recording.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void HDF5Recording::endChannelBlock(bool lastBlock)
237237
{
238238
int realChan = getRealChannel(ch);
239239
int index = processorMap[getChannel(realChan)->recordIndex];
240-
fileArray[index]->writeTimestamps(channelTimestampArray[ch]->getRawDataPointer(), tsSize, ch);
240+
fileArray[index]->writeTimestamps(channelTimestampArray[ch]->getRawDataPointer(), tsSize, recordedChanToKWDChan[ch]);
241241
channelTimestampArray[ch]->clearQuick();
242242
}
243243
}

0 commit comments

Comments
 (0)