Add a slight delay after opening the rig port to allow serial port settling

pull/1301/head
Mike Black W9MDB 2023-05-20 23:41:18 -05:00
rodzic 6eb0735c75
commit ece6a7ae1a
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1274,6 +1274,7 @@ int HAMLIB_API rig_open(RIG *rig)
rig_debug(RIG_DEBUG_VERBOSE, "%s: %p rs->comm_state==1?=%d\n", __func__,
&rs->comm_state,
rs->comm_state);
hl_usleep(100 * 1000); // wait a bit after opening to give some serial ports time
/*
* Maybe the backend has something to initialize