Added set_powerstat 1 to kenwood_init -- any reason not to do this?

Do we ever want to start rigctl or rigctld on a non-powered rig?
Maybe should do this on all rigs?
TS590S rigctl could not start with power off as firmware version is needed.
And many other things require the rig to be up when rigctl is started.
We won't let set_powerstat fail the startup just in case.
pull/155/head
Michael Black 2019-12-13 23:28:49 -06:00
rodzic 7b0d4e754f
commit 72476c21be
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -611,6 +611,9 @@ int kenwood_init(RIG *rig)
rig_debug(RIG_DEBUG_TRACE, "%s: if_len = %d\n", __func__, caps->if_len);
// Ensure power is on -- any reason not to do this?
rig_set_powerstat(rig,1);
return RIG_OK;
}

Wyświetl plik

@ -27,7 +27,7 @@
#include <string.h>
#include "token.h"
#define BACKEND_VER "1.4"
#define BACKEND_VER "1.5"
#define EOM_KEN ';'
#define EOM_TH '\r'