Skip to content

Commit a64feb2

Browse files
committed
Don't write the length to the RDH for STBRD
1 parent 6d97434 commit a64feb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Crorc/CrorcDmaChannel.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ void CrorcDmaChannel::fillSuperpages()
393393
};
394394

395395
// Write the length of the DMA page in its RDH
396-
if (mLoopbackMode == LoopbackMode::None) {
396+
if ((mLoopbackMode == LoopbackMode::None) && mRDYRX) { //Don't write the header for STBRD
397397
auto superpage = mTransferQueue.front();
398398
auto dmaPageAddress = mDmaBufferUserspace + superpage.getOffset() + mFreeFifoBack * mPageSize;
399399
writeRdhLength(dmaPageAddress, length);

0 commit comments

Comments
 (0)