From 6d2356a04d23cce9928f05f26200f3421d67327c Mon Sep 17 00:00:00 2001 From: PianetaRadio <78976006+PianetaRadio@users.noreply.github.com> Date: Sun, 9 Apr 2023 00:39:30 +0200 Subject: [PATCH] Fix NET rigctl connection when rig is off When using NET rigctl, connect with option auto_power_on = 1 --- rigdaemon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rigdaemon.cpp b/rigdaemon.cpp index 651d8d7..2cc8027 100644 --- a/rigdaemon.cpp +++ b/rigdaemon.cpp @@ -66,6 +66,7 @@ RIG *RigDaemon::rigConnect(int *retcode) //myport.type.rig = RIG_PORT_NETWORK; strncpy(my_rig->state.rigport.pathname, rigCom.rigPort.toLatin1(), HAMLIB_FILPATHLEN - 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); } else