remove silly message buffering that doesnt seem to work nor seems to be required in the end

This commit is contained in:
Triss 2021-10-31 01:41:26 +02:00
parent 9892383e1f
commit cbe307f1c1
1 changed files with 2 additions and 2 deletions

View File

@ -122,10 +122,10 @@ void dap_do_bulk_stuff(int itf) {
if (reqcount < pos2) {
// welp, let's wait
rxpos = pos2;
rxpos = 0;//pos2;
} else {
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;
}
}