From 26c953aee83e5273578cc884426026364a916055 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 30 Apr 2019 09:47:21 +0200 Subject: [PATCH] MINGW, uart speed up when compiling with FPC support --- uart/uart_win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uart/uart_win32.c b/uart/uart_win32.c index 80d6b8a24..a3ac22ebe 100644 --- a/uart/uart_win32.c +++ b/uart/uart_win32.c @@ -88,10 +88,10 @@ serial_port uart_open(const char *pcPortName, uint32_t speed) { // took settings from libnfc/buses/uart.c #ifdef WITH_FPC // Still relevant? - sp->ct.ReadIntervalTimeout = 1000; + sp->ct.ReadIntervalTimeout = 150; //200; sp->ct.ReadTotalTimeoutMultiplier = 0; - sp->ct.ReadTotalTimeoutConstant = 1500; - sp->ct.WriteTotalTimeoutMultiplier = 1000; + sp->ct.ReadTotalTimeoutConstant = 150; //200; + sp->ct.WriteTotalTimeoutMultiplier = 150; //200; sp->ct.WriteTotalTimeoutConstant = 0; #else sp->ct.ReadIntervalTimeout = 30;