kopia lustrzana https://github.com/Hamlib/Hamlib
Close rig on set_powerstat 0 -- Linux was unable to reconnect to IC-7300
https://github.com/Hamlib/Hamlib/issues/1212pull/1215/head
rodzic
57522f0b93
commit
93e3aec588
1
NEWS
1
NEWS
|
@ -26,6 +26,7 @@ Version 4.6
|
||||||
|
|
||||||
Version 4.5.4
|
Version 4.5.4
|
||||||
* 2023-XX-XX
|
* 2023-XX-XX
|
||||||
|
* Fix set_powerstat 0 to reopen with IC-7300 (and others?) on Linux
|
||||||
* Fix FT-710 usage on 60M
|
* Fix FT-710 usage on 60M
|
||||||
* Fix timing on NRD-535D
|
* Fix timing on NRD-535D
|
||||||
* Fix AGC levels with rigctld
|
* Fix AGC levels with rigctld
|
||||||
|
|
|
@ -6014,6 +6014,9 @@ int HAMLIB_API rig_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
HAMLIB_TRACE;
|
HAMLIB_TRACE;
|
||||||
retcode = rig->caps->set_powerstat(rig, status);
|
retcode = rig->caps->set_powerstat(rig, status);
|
||||||
rig_flush(&rig->state.rigport); // if anything is queued up flush it
|
rig_flush(&rig->state.rigport); // if anything is queued up flush it
|
||||||
|
|
||||||
|
if (status == RIG_POWER_OFF) { rig_close(rig); }
|
||||||
|
|
||||||
RETURNFUNC(retcode);
|
RETURNFUNC(retcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue