Fix one call site that hadn't been updated

When updating to the new dc_custom_io_t, this one spot had been
missed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-27 21:04:53 -07:00
parent ea8e3006db
commit 344b9e3234

View file

@ -496,7 +496,7 @@ static dc_status_t serial_ftdi_flush (dc_custom_io_t *io, dc_direction_t queue)
return DC_STATUS_INVALIDARGS;
size_t input;
serial_ftdi_get_received (userdata, &input);
serial_ftdi_get_received (io, &input);
INFO (device->context, "Flush: queue=%u, input=%lu, output=%i", queue, input,
serial_ftdi_get_transmitted (device));