From 3652705784ecb2d4602e958cfd1c45b40bece2db Mon Sep 17 00:00:00 2001 From: peri4 Date: Wed, 17 Jan 2024 18:39:53 +0300 Subject: [PATCH] usb --- libs/usb/piusb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/usb/piusb.cpp b/libs/usb/piusb.cpp index 6ee66bc5..95687efa 100644 --- a/libs/usb/piusb.cpp +++ b/libs/usb/piusb.cpp @@ -441,8 +441,8 @@ PICout operator<<(PICout s, const PIUSB::Endpoint & v) { PIString PIUSB::constructFullPathDevice() const { PIString ret; - ret << PIString::fromNumber(vendorID(), 16).toLowerCase() << ":" << PIString::fromNumber(productID(), 16).toLowerCase() << ":" - << deviceNumber() << ":" << endpointRead().address << ":" << endpointWrite().address; + ret = PIString::fromNumber(vendorID(), 16).toLowerCase() + ":" + PIString::fromNumber(productID(), 16).toLowerCase() + ":" + + deviceNumber() + ":" + endpointRead().address + ":" + endpointWrite().address; return ret; }