[sane-devel] Correction: deadlock with sanei_usb_read_bulk
Jürgen Ernst
jrernst at gmx.de
Sun Feb 10 01:32:54 UTC 2008
Oops.
The bulk read and write should have been written this way:
> status = sanei_usb_write_bulk (0, setup_buffer, &count);
> ...
> status = sanei_usb_write_bulk (1, setup_buffer, &count);
> ...
> status = sanei_usb_read_bulk (1, data, &count);
First endpoint 0 then 2 times endpoint 1.
--
Ciao
Jürgen
Microsoft is not the answer. Microsoft is the question.
"NO" is the answer.
More information about the sane-devel
mailing list