Bug fixed

This commit is contained in:
2024-05-29 11:14:41 +02:00
parent 45162202c8
commit 3084eb8dd3

View File

@@ -39,6 +39,7 @@ bool LibUsbDevice::sendDataToDevice(const Data &data)
{
if (!m_device) {
std::cerr << "Device not opened" << std::endl;
return false;
}
auto requestType = LIBUSB_ENDPOINT_OUT | LIBUSB_REQUEST_TYPE_CLASS | LIBUSB_RECIPIENT_INTERFACE;