Fix gs232a/b null data requests now do not expect a reply
pull/224/head
mdblack98 2020-04-24 14:16:33 -05:00
rodzic 7a075ae9fd
commit fc3c2d5c2a
2 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -82,10 +82,11 @@ transaction_write:
}
}
/* Always read the reply to know whether the cmd went OK */
/* If no data requested just return */
if (!data)
{
data = replybuf;
return RIG_OK;
}
if (!data_len)
@ -294,7 +295,7 @@ const struct rot_caps gs23_rot_caps =
ROT_MODEL(ROT_MODEL_GS23),
.model_name = "GS-23",
.mfg_name = "Yaesu/Kenpro",
.version = "0.2",
.version = "20200424",
.copyright = "LGPL",
.status = RIG_STATUS_ALPHA,
.rot_type = ROT_TYPE_AZEL,

Wyświetl plik

@ -90,10 +90,10 @@ transaction_write:
if (no_reply) { return RIG_OK; } // nothing expected so return
/* Always read the reply to know whether the cmd went OK */
/* If no data requested just return */
if (!data)
{
data = replybuf;
return RIG_OK;
}
if (!data_len)
@ -313,7 +313,7 @@ const struct rot_caps gs232b_rot_caps =
ROT_MODEL(ROT_MODEL_GS232B),
.model_name = "GS-232B",
.mfg_name = "Yaesu",
.version = "0.5",
.version = "20200424",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rot_type = ROT_TYPE_OTHER,