FPGA: transfer for image and processing results are separate DMA transactions
This commit is contained in:
@@ -87,7 +87,7 @@ void AcquisitionDevice::WaitForActionComplete() {
|
||||
|
||||
while (c.type != Completion::Type::End) {
|
||||
work_completion_count++;
|
||||
while (work_completion_count > GetCompletedDescriptors())
|
||||
while (2 * work_completion_count > GetCompletedDescriptors()) // Two descriptors per module
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
|
||||
if (c.frame_number >= expected_frames) {
|
||||
|
||||
Reference in New Issue
Block a user