From 72dac9a573f37334caa6c01c846d934810a055a0 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sat, 25 Dec 2021 12:33:32 -0600 Subject: [PATCH] Disable async startup code on Windows Need a custom pipe function for Windows to work https://github.com/Hamlib/Hamlib/issues/902 --- src/rig.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rig.c b/src/rig.c index 194ff95b3..9cf87c027 100644 --- a/src/rig.c +++ b/src/rig.c @@ -1020,7 +1020,10 @@ int HAMLIB_API rig_open(RIG *rig) RETURNFUNC(status); } +#if !defined(WIN32) status = async_data_handler_start(rig); +#endif + if (status < 0) { port_close(&rs->rigport, rs->rigport.type.rig);