We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7d9f53 + bc04cf7 commit 3224bbeCopy full SHA for 3224bbe
rotator/drivers/HamlibRotDrv.cpp
@@ -149,6 +149,18 @@ bool HamlibRotDrv::open()
149
return false;
150
}
151
152
+ token_t timeout_token = rot_token_lookup(rot, "timeout");
153
+ if (timeout_token != -RIG_EINVAL) {
154
+ int ret = rot_set_conf(rot, timeout_token, "5000");
155
+ if (ret == RIG_OK) {
156
+ qCDebug(runtime) << "Rotator timeout set to 5000ms";
157
+ } else {
158
+ qCDebug(runtime) << "rot_set_conf(timeout) failed:" << rigerror(ret);
159
+ }
160
161
+ qCDebug(runtime) << "timeout token not found";
162
163
+
164
int status = rot_open(rot);
165
166
if ( !isRotRespOK(status, tr("Rot Open Error"), false) )
0 commit comments