Revert "Close rig on set_powerstat 0 -- Linux was unable to reconnect to IC-7300"

This reverts commit 93e3aec588.
Hamlib-4.5.4
Mike Black W9MDB 2023-01-09 12:21:33 -06:00
rodzic 6db1e36b46
commit 4272373890
2 zmienionych plików z 0 dodań i 4 usunięć

1
NEWS
Wyświetl plik

@ -28,7 +28,6 @@ Version 4.5.4
* 2023-XX-XX
* Fix CM108 ptt setting for non-default usage
* Fix get_powerstat status return for non-PS kenwood rigs
* Fix set_powerstat 0 to reopen with IC-7300 (and others?) on Linux
* Fix FT-710, FTDX10, FTDX101D/MP usage on 60M
* Fix timing on NRD-535D
* Fix AGC levels with rigctld

Wyświetl plik

@ -6015,9 +6015,6 @@ int HAMLIB_API rig_set_powerstat(RIG *rig, powerstat_t status)
HAMLIB_TRACE;
retcode = rig->caps->set_powerstat(rig, status);
rig_flush(&rig->state.rigport); // if anything is queued up flush it
if (status == RIG_POWER_OFF) { rig_close(rig); }
RETURNFUNC(retcode);
}