kopia lustrzana https://github.com/Hamlib/Hamlib
Fix auto_power_on with netrigctl when powered off but still responding to PS; command
https://github.com/Hamlib/Hamlib/issues/1282pull/1289/head
rodzic
3f7cf2d0b3
commit
fdf1c3cdab
|
@ -6132,6 +6132,8 @@ int HAMLIB_API rig_get_powerstat(RIG *rig, powerstat_t *status)
|
|||
|
||||
if (retcode != RIG_OK) { *status = RIG_POWER_ON; } // if failed assume power is on
|
||||
|
||||
if (*status == RIG_POWER_OFF && rig->state.auto_power_on) rig->caps->set_powerstat(rig, RIG_POWER_ON);
|
||||
|
||||
RETURNFUNC(retcode);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue