kopia lustrzana https://github.com/Hamlib/Hamlib
Fix gs232a/b null data requests now do not expect a replypull/224/head
rodzic
7a075ae9fd
commit
fc3c2d5c2a
|
@ -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)
|
if (!data)
|
||||||
{
|
{
|
||||||
data = replybuf;
|
data = replybuf;
|
||||||
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data_len)
|
if (!data_len)
|
||||||
|
@ -294,7 +295,7 @@ const struct rot_caps gs23_rot_caps =
|
||||||
ROT_MODEL(ROT_MODEL_GS23),
|
ROT_MODEL(ROT_MODEL_GS23),
|
||||||
.model_name = "GS-23",
|
.model_name = "GS-23",
|
||||||
.mfg_name = "Yaesu/Kenpro",
|
.mfg_name = "Yaesu/Kenpro",
|
||||||
.version = "0.2",
|
.version = "20200424",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_ALPHA,
|
.status = RIG_STATUS_ALPHA,
|
||||||
.rot_type = ROT_TYPE_AZEL,
|
.rot_type = ROT_TYPE_AZEL,
|
||||||
|
|
|
@ -90,10 +90,10 @@ transaction_write:
|
||||||
|
|
||||||
if (no_reply) { return RIG_OK; } // nothing expected so return
|
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)
|
if (!data)
|
||||||
{
|
{
|
||||||
data = replybuf;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data_len)
|
if (!data_len)
|
||||||
|
@ -313,7 +313,7 @@ const struct rot_caps gs232b_rot_caps =
|
||||||
ROT_MODEL(ROT_MODEL_GS232B),
|
ROT_MODEL(ROT_MODEL_GS232B),
|
||||||
.model_name = "GS-232B",
|
.model_name = "GS-232B",
|
||||||
.mfg_name = "Yaesu",
|
.mfg_name = "Yaesu",
|
||||||
.version = "0.5",
|
.version = "20200424",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rot_type = ROT_TYPE_OTHER,
|
.rot_type = ROT_TYPE_OTHER,
|
||||||
|
|
Ładowanie…
Reference in New Issue