kopia lustrzana https://github.com/Hamlib/Hamlib
Reset rig->state.cache.split so it can be set again when rigctld reopens the rig
https://github.com/Hamlib/Hamlib/issues/1187pull/1215/head
rodzic
04f5195cfd
commit
9970a2767d
|
@ -1518,6 +1518,8 @@ int HAMLIB_API rig_close(RIG *rig)
|
||||||
|
|
||||||
remove_opened_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;
|
rs->comm_state = 0;
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s(%d): %p rs->comm_state==0?=%d\n", __func__,
|
rig_debug(RIG_DEBUG_VERBOSE, "%s(%d): %p rs->comm_state==0?=%d\n", __func__,
|
||||||
__LINE__, &rs->comm_state,
|
__LINE__, &rs->comm_state,
|
||||||
|
|
Ładowanie…
Reference in New Issue