Skip to content
Snippets Groups Projects
Commit 028744bf authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Little change

parent 776e2ed2
Branches master
Tags 1.0.0
No related merge requests found
...@@ -525,7 +525,7 @@ void USB2::write(const Tango::DevVarCharArray *argin) ...@@ -525,7 +525,7 @@ void USB2::write(const Tango::DevVarCharArray *argin)
goto error; goto error;
while (bytes_total < bytes_to_write) { while (bytes_total < bytes_to_write) {
ssize_t bytes_written; int bytes_written;
conn_state = libusb_bulk_transfer(dev_handle, ep_down, conn_state = libusb_bulk_transfer(dev_handle, ep_down,
argin_data.data() + bytes_total, argin_data.data() + bytes_total,
bytes_to_write - bytes_total, &bytes_written, timeout); bytes_to_write - bytes_total, &bytes_written, timeout);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment