kopia lustrzana https://github.com/PianetaRadio/CatRadio
Fix NET rigctl connection when rig is off
When using NET rigctl, connect with option auto_power_on = 11.4.0
rodzic
d9a15a9826
commit
6d2356a04d
|
@ -66,6 +66,7 @@ RIG *RigDaemon::rigConnect(int *retcode)
|
||||||
//myport.type.rig = RIG_PORT_NETWORK;
|
//myport.type.rig = RIG_PORT_NETWORK;
|
||||||
strncpy(my_rig->state.rigport.pathname, rigCom.rigPort.toLatin1(), HAMLIB_FILPATHLEN - 1);
|
strncpy(my_rig->state.rigport.pathname, rigCom.rigPort.toLatin1(), HAMLIB_FILPATHLEN - 1);
|
||||||
my_rig->state.vfo_opt = 1;
|
my_rig->state.vfo_opt = 1;
|
||||||
|
my_rig->state.auto_power_on = 1;
|
||||||
//strncpy(my_rig->state.rigport.pathname, RIG_FILE, HAMLIB_FILPATHLEN - 1);
|
//strncpy(my_rig->state.rigport.pathname, RIG_FILE, HAMLIB_FILPATHLEN - 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Ładowanie…
Reference in New Issue