Failing for me due to accumulating large number of pending requests (over 30,000) and then printing libusb error.
Root cause is logic error in HandleEvents:
|
void HandleEvents(gscomms * g, long timeout_ms, int max_pending_writes) { |
void HandleEvents(gscomms * g, long timeout_ms, int max_pending_writes) {
if (g->writes_pending > max_pending_writes) {
Changing this if to be a while makes pending requests stablize at 256, slows down progress bar, but actually succeeds eventually.
Failing for me due to accumulating large number of pending requests (over 30,000) and then printing libusb error.
Root cause is logic error in
HandleEvents:gs_libusb/gscomms/gscomms.c
Line 708 in 45e7b5f
Changing this
ifto be awhilemakes pending requests stablize at256, slows down progress bar, but actually succeeds eventually.