Ignore flush(OPTIONALLY) by default.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1003 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent 109ff9d025
commit 3b1748b6da

@ -680,6 +680,8 @@ ft2232_flush( cable_t *cable, cable_flush_amount_t how_much )
{
params_t *params = (params_t *)cable->params;
if( how_much == OPTIONALLY ) return;
while (cable->todo.num_items > 0)
{
int i, j, n;

@ -227,6 +227,8 @@ do_one_queued_action( cable_t *cable )
void
generic_flush_one_by_one( cable_t *cable, cable_flush_amount_t how_much )
{
if( how_much == OPTIONALLY ) return;
while( do_one_queued_action( cable ) );
}
@ -236,6 +238,8 @@ generic_flush_using_transfer( cable_t *cable, cable_flush_amount_t how_much )
int i, j, n;
char *in, *out;
if( how_much == OPTIONALLY ) return;
if(cable->todo.num_items == 0) return;
do

@ -189,6 +189,8 @@ usbblaster_transfer( cable_t *cable, int len, char *in, char *out )
static void
usbblaster_flush( cable_t *cable, cable_flush_amount_t how_much )
{
if( how_much == OPTIONALLY ) return;
while (cable->todo.num_items > 0)
{
int i, j, n, to_send = 0;

Loading…
Cancel
Save