Reset rig->state.cache.split so it can be set again when rigctld reopens the rig

https://github.com/Hamlib/Hamlib/issues/1187
pull/1215/head
Mike Black W9MDB 2022-12-17 10:35:56 -06:00
rodzic 04f5195cfd
commit 9970a2767d
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1518,6 +1518,8 @@ int HAMLIB_API rig_close(RIG *rig)
remove_opened_rig(rig);
// zero split so it will allow it to be set again on open for rigctld
rig->state.cache.split = 0;
rs->comm_state = 0;
rig_debug(RIG_DEBUG_VERBOSE, "%s(%d): %p rs->comm_state==0?=%d\n", __func__,
__LINE__, &rs->comm_state,