diff --git a/MAC/APL/PIC/RSPDriver/src/BWWrite.cc b/MAC/APL/PIC/RSPDriver/src/BWWrite.cc index 12b5ee2119afbc40c16f36872bcca9fcfe2ddc10..2b9f14987210274dd0931e7d31c49abc4a3d1b31 100644 --- a/MAC/APL/PIC/RSPDriver/src/BWWrite.cc +++ b/MAC/APL/PIC/RSPDriver/src/BWWrite.cc @@ -146,7 +146,7 @@ void BWWrite::sendrequest() weights(Range::all(), 1) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 0) = complex<int16>(0x4000, 0); + weights(getCurrentIndex() + m_blp, 0) = complex<int16>(0x4000, 0); } break; @@ -159,7 +159,7 @@ void BWWrite::sendrequest() weights(Range::all(), 1) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 0) = complex<int16>(0, 0x4000); + weights(getCurrentIndex() + m_blp, 0) = complex<int16>(0, 0x4000); } break; @@ -172,7 +172,7 @@ void BWWrite::sendrequest() weights(Range::all(), 0) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 1) = complex<int16>(0x4000, 0); + weights(getCurrentIndex() + m_blp, 1) = complex<int16>(0x4000, 0); } break; @@ -185,7 +185,7 @@ void BWWrite::sendrequest() weights(Range::all(), 0) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 1) = complex<int16>(0, 0x4000); + weights(getCurrentIndex() + m_blp, 1) = complex<int16>(0, 0x4000); } break; }