Add 1 second sleep after power on for Yaesu rigs

https://github.com/Hamlib/Hamlib/issues/459

(cherry picked from commit 79e2263dfb)
Hamlib-4.0
Michael Black W9MDB 2020-12-09 16:15:13 -06:00 zatwierdzone przez Nate Bargmann
rodzic 6f397021d4
commit e7c0239791
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
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