kopia lustrzana https://github.com/Hamlib/Hamlib
Assume rig is powered on if get_powerstat is not implemented
rodzic
21c5c3f419
commit
b4ddf64b31
|
@ -6270,6 +6270,7 @@ int HAMLIB_API rig_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
if (rig->caps->set_powerstat == NULL)
|
if (rig->caps->set_powerstat == NULL)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_WARN, "%s set_powerstat not implemented\n", __func__);
|
rig_debug(RIG_DEBUG_WARN, "%s set_powerstat not implemented\n", __func__);
|
||||||
|
rig->state.powerstat = RIG_POWER_ON; // assume we are on if we can't set_powerstat
|
||||||
RETURNFUNC(-RIG_ENAVAIL);
|
RETURNFUNC(-RIG_ENAVAIL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue