Skip to content

Commit

Permalink
Fix PCIe streams ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
rjonaitis committed Mar 25, 2024
1 parent 82aa770 commit be69ae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/boards/DeviceFactoryPCIe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ SDRDevice* DeviceFactoryPCIe::make(const DeviceHandle& handle)
}

std::vector<std::string> streamEndpoints = GetDevicesWithRegex(handle.name + "_trx*");
std::sort(streamEndpoints.begin(), streamEndpoints.end());
for (const std::string& endpointPath : streamEndpoints)
{
streamPorts.push_back(std::make_shared<LitePCIe>());
Expand Down

0 comments on commit be69ae1

Please sign in to comment.