Add 1 second sleep after power on for Yaesu rigs

https://github.com/Hamlib/Hamlib/issues/459
pull/468/head
Michael Black W9MDB 2020-12-09 16:15:13 -06:00
rodzic ac1cb518b0
commit 79e2263dfb
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -2871,6 +2871,8 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "PS%c%c", ps, cat_term);
err = write_block(&state->rigport, priv->cmd_str, strlen(priv->cmd_str));
hl_usleep(1000000); // give it a second to turn on
return err;
}

Wyświetl plik

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