kopia lustrzana https://github.com/Hamlib/Hamlib
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 startingpull/1091/head
rodzic
0e2ec27646
commit
74aba61978
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue