Stop dropping buffers in firmware and allow the host to make the decision.
This commit is contained in:

committed by
Mike Walters

parent
6639ab3e09
commit
6b831d31cc
@ -89,7 +89,6 @@ void sweep_mode(void) {
|
|||||||
if (transfer) {
|
if (transfer) {
|
||||||
*(uint16_t*)buffer = 0x7F7F;
|
*(uint16_t*)buffer = 0x7F7F;
|
||||||
*(uint16_t*)(buffer+2) = sweep_freq;
|
*(uint16_t*)(buffer+2) = sweep_freq;
|
||||||
if (blocks_queued > 1)
|
|
||||||
usb_transfer_schedule_block(
|
usb_transfer_schedule_block(
|
||||||
&usb_endpoint_bulk_in,
|
&usb_endpoint_bulk_in,
|
||||||
buffer,
|
buffer,
|
||||||
|
Reference in New Issue
Block a user