kopia lustrzana https://github.com/Hamlib/Hamlib
Cover more cases for detecting rig power
rodzic
e9d0320111
commit
5c3f26cc56
|
@ -1733,7 +1733,7 @@ readline_repeat:
|
|||
else
|
||||
{
|
||||
// Allow only certain commands when the rig is powered off
|
||||
if ((rig_powerstat == RIG_POWER_OFF || rig_powerstat == RIG_POWER_STANDBY)
|
||||
if (my_rig->state.powerstat == RIG_POWER_OFF && (rig_powerstat == RIG_POWER_OFF || rig_powerstat == RIG_POWER_STANDBY)
|
||||
&& cmd_entry->cmd != '1' // dump_caps
|
||||
&& cmd_entry->cmd != '3' // dump_conf
|
||||
&& cmd_entry->cmd != 0x8f // dump_state
|
||||
|
|
Ładowanie…
Reference in New Issue