Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
usb2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
usb2
Commits
028744bf
Commit
028744bf
authored
3 months ago
by
Alessio Igor Bogani
Browse files
Options
Downloads
Patches
Plain Diff
Little change
parent
776e2ed2
Branches
master
Tags
1.0.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/USB2.cpp
+1
-1
1 addition, 1 deletion
src/USB2.cpp
with
1 addition
and
1 deletion
src/USB2.cpp
+
1
−
1
View file @
028744bf
...
@@ -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
;
in
t
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment