Add set_powerstat to icom.c and debug msg to rig.c

pull/155/head
Michael Black 2019-12-16 10:51:36 -06:00
rodzic 2e74b4fa6b
commit 8ff9a682cc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -533,6 +533,7 @@ int icom_init(RIG *rig)
priv->tx_vfo = RIG_VFO_NONE;
priv->rx_vfo = RIG_VFO_NONE;
priv->curr_vfo = RIG_VFO_NONE;
rig_debug(RIG_DEBUG_TRACE, "%s: done\n", __func__);
return RIG_OK;
@ -577,6 +578,8 @@ int icom_rig_open(RIG *rig)
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
rig_set_powerstat(rig,1);
if (priv_caps->serial_USB_echo_check)
{

Wyświetl plik

@ -3828,6 +3828,7 @@ int HAMLIB_API rig_set_powerstat(RIG *rig, powerstat_t status)
if (rig->caps->set_powerstat == NULL)
{
rig_debug(RIG_DEBUG_WARN, "%s set_powerstat not implemented\n", __func__);
return -RIG_ENAVAIL;
}