ftdi_bmp: Reject writes with no data.
Pending transfers made the MPSSE behaviour strange and unpredictable.
This commit is contained in:
parent
c41ab1738e
commit
ae8cb8ab46
|
@ -455,6 +455,8 @@ bool libftdi_srst_get_val(void)
|
|||
|
||||
void libftdi_buffer_flush(void)
|
||||
{
|
||||
if (!bufptr)
|
||||
return;
|
||||
DEBUG_WIRE("Flush\n");
|
||||
#if defined(USE_USB_VERSION_BIT)
|
||||
static struct ftdi_transfer_control *tc_write = NULL;
|
||||
|
|
Loading…
Reference in New Issue