set ASYNC_LOW_LATENCY flag on serial device just like setserial does to fix huge latency found on recent kernel versions

This commit is contained in:
john30
2017-06-03 08:27:55 +02:00
parent 9a1a274a33
commit 343a443e98
4 changed files with 16 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ set(CMAKE_REQUIRED_LIBRARIES pthread rt)
check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP)
check_function_exists(pselect HAVE_PSELECT)
check_function_exists(ppoll HAVE_PPOLL)
check_include_file(linux/serial.h HAVE_LINUX_SERIAL -DHAVE_LINUX_SERIAL=1)
check_function_exists(argp_parse HAVE_ARGP)
if(NOT HAVE_ARGP)
find_library(LIB_ARGP argp)