Default rig_get_powerstat to RIG_POWER_ON when function is not available

https://github.com/Hamlib/Hamlib/issues/1085# Please enter the commit message for your changes. Lines starting
pull/1091/head
Mike Black W9MDB 2022-07-15 16:09:49 -05:00
rodzic 0e2ec27646
commit 74aba61978
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -5792,6 +5792,7 @@ int HAMLIB_API rig_get_powerstat(RIG *rig, powerstat_t *status)
if (CHECK_RIG_ARG(rig))
{
*status = RIG_POWER_ON; // default to power on if not available
RETURNFUNC(-RIG_EINVAL);
}