mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-12-01 12:23:55 -05:00
BeamSteeringCWSource: use auto amount in-place write method in sample FIFO
This commit is contained in:
parent
8685cec6c1
commit
342d8d25f6
@ -144,7 +144,7 @@ void BeamSteeringCWModSource::handleData()
|
||||
|
||||
while ((remainder > 0) && (m_inputMessageQueue.size() == 0))
|
||||
{
|
||||
m_sampleMOFifo.writeSync(remainder, ipart1begin, ipart1end, ipart2begin, ipart2end);
|
||||
m_sampleMOFifo.writeSync(ipart1begin, ipart1end, ipart2begin, ipart2end);
|
||||
|
||||
if (ipart1begin != ipart1end) { // first part of FIFO data
|
||||
processFifo(data, ipart1begin, ipart1end);
|
||||
@ -154,7 +154,6 @@ void BeamSteeringCWModSource::handleData()
|
||||
processFifo(data, ipart2begin, ipart2end);
|
||||
}
|
||||
|
||||
m_sampleMOFifo.commitWriteSync(remainder);
|
||||
remainder = m_sampleMOFifo.remainderSync();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user