Add set_powerstat 1 to Yaesu rig_open

pull/155/head
Michael Black 2019-12-22 22:23:57 -06:00
rodzic ed339b1c2b
commit e7e9943e8b
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

@ -355,6 +355,9 @@ int newcat_open(RIG *rig)
rig_debug(RIG_DEBUG_TRACE, "%s: post_write_delay = %i msec\n",
__func__, rig_s->rigport.post_write_delay);
/* Ensure rig is powered on */
rig_set_powerstat(rig, 1);
/* get current AI state so it can be restored */
priv->trn_state = -1;

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "0.24"
#define NEWCAT_VER "0.25"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129