As the result of more testing that showed no degradation in performance, this reverts to the original logic of failing garbled packets harder. --- softusb-input/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/softusb-input/main.c b/softusb-input/main.c index dc6fa26..3c8b639 100644 --- a/softusb-input/main.c +++ b/softusb-input/main.c @@ -203,7 +203,7 @@ static int usb_in(unsigned addr, unsigned char expected_data, fail: print_string(in_reply); dump_hex(buf, len); - return 0; /* @@@ -1 in previous logic */ + return -1; /* bad sequence bit: wait until packet has arrived, then ack */ -- 1.7.1 _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode