From 344b9e3234bc3f0d64fb92d876425b5dc9a0a555 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 27 Jun 2017 21:04:53 -0700 Subject: 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 --- core/serial_ftdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c index ade104a1c..f8cba95d3 100644 --- a/core/serial_ftdi.c +++ b/core/serial_ftdi.c @@ -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)); -- cgit v1.2.3-70-g09d2