remove silly message buffering that doesnt seem to work nor seems to be required in the end
This commit is contained in:
parent
9892383e1f
commit
cbe307f1c1
|
@ -122,10 +122,10 @@ void dap_do_bulk_stuff(int itf) {
|
||||||
|
|
||||||
if (reqcount < pos2) {
|
if (reqcount < pos2) {
|
||||||
// welp, let's wait
|
// welp, let's wait
|
||||||
rxpos = pos2;
|
rxpos = 0;//pos2;
|
||||||
} else {
|
} else {
|
||||||
tud_vendor_n_write(itf, tx_buf, respcount);
|
tud_vendor_n_write(itf, tx_buf, respcount);
|
||||||
memmove(rx_buf, &rx_buf[rxpos+reqcount], DAP_PACKET_SIZE - reqcount);
|
//memmove(rx_buf, &rx_buf[rxpos+reqcount], DAP_PACKET_SIZE - reqcount);
|
||||||
rxpos = 0;
|
rxpos = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue