diff --git a/src/usb/usb.c b/src/usb/usb.c index 7b38271..058e6af 100644 --- a/src/usb/usb.c +++ b/src/usb/usb.c @@ -71,7 +71,7 @@ size_t usb_rx(const uint8_t *buffer, size_t len) { uint32_t usb_write_flush() { int w = 0; - if (w_len > 0 && tud_vendor_write_available() > 0) { + if (w_len > 0) { w = driver_write(tx_buffer+tx_r_offset, MIN(w_len, 64)); tx_r_offset += w; w_len -= w;