From be69ae1034e2bfafb0e4d475987a26d195f8db2a Mon Sep 17 00:00:00 2001 From: Ricardas Jonaitis Date: Mon, 25 Mar 2024 14:41:31 +0200 Subject: [PATCH] Fix PCIe streams ordering --- src/boards/DeviceFactoryPCIe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boards/DeviceFactoryPCIe.cpp b/src/boards/DeviceFactoryPCIe.cpp index 56e431e7..26074feb 100644 --- a/src/boards/DeviceFactoryPCIe.cpp +++ b/src/boards/DeviceFactoryPCIe.cpp @@ -98,6 +98,7 @@ SDRDevice* DeviceFactoryPCIe::make(const DeviceHandle& handle) } std::vector streamEndpoints = GetDevicesWithRegex(handle.name + "_trx*"); + std::sort(streamEndpoints.begin(), streamEndpoints.end()); for (const std::string& endpointPath : streamEndpoints) { streamPorts.push_back(std::make_shared());