don't send first buffer to host in sweep mode until it is full

This commit is contained in:
Michael Ossmann
2017-02-07 17:52:09 -07:00
parent 813f540e94
commit 00d5b1c575

View File

@ -88,7 +88,7 @@ usb_request_status_t usb_vendor_request_init_sweep(
void sweep_mode(void) {
unsigned int blocks_queued = 0;
unsigned int phase = 0;
unsigned int phase = 1;
uint8_t *buffer;
bool transfer = false;