From e8933e1dbfa97a1619f09c4e749a0a445bc16b10 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Fri, 3 Nov 2023 11:06:54 +0100 Subject: [PATCH] Replace deprecated ftdi functions --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 6c98590..cf3d792 100644 --- a/src/main.c +++ b/src/main.c @@ -300,7 +300,7 @@ _ftdi_init(app_t *app) goto failure_close; } - if(ftdi_usb_purge_buffers(&app->ftdi) != 0) + if(ftdi_tcioflush(&app->ftdi) != 0) { goto failure_close; } -- 2.45.2