FT-817 add 100ms delay during ft817_open to avoid initial cmd error during startup

https://github.com/Hamlib/Hamlib/issues/1278
pull/1289/head
Mike Black W9MDB 2023-04-22 11:22:16 -05:00
rodzic 2af9f2c5b3
commit 4ba3a02512
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -292,7 +292,7 @@ const struct rig_caps ft817_caps =
RIG_MODEL(RIG_MODEL_FT817),
.model_name = "FT-817",
.mfg_name = "Yaesu",
.version = "20230421.0",
.version = "20230422.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
@ -623,6 +623,7 @@ static int ft817_cleanup(RIG *rig)
static int ft817_open(RIG *rig)
{
rig_debug(RIG_DEBUG_VERBOSE, "%s: called \n", __func__);
hl_usleep(100*1000); // rig needs a bit to allow commands to come through
return RIG_OK;
}