kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/mdblack98/Hamlib
commit
0365450269
|
@ -64,7 +64,6 @@ gs232_transaction(ROT *rot, const char *cmdstr,
|
||||||
struct rot_state *rs;
|
struct rot_state *rs;
|
||||||
int retval;
|
int retval;
|
||||||
int retry_read = 0;
|
int retry_read = 0;
|
||||||
char replybuf[BUFSZ];
|
|
||||||
|
|
||||||
rs = &rot->state;
|
rs = &rot->state;
|
||||||
|
|
||||||
|
@ -85,7 +84,7 @@ transaction_write:
|
||||||
/* Always read the reply to know whether the cmd went OK */
|
/* Always read the reply to know whether the cmd went OK */
|
||||||
if (!data)
|
if (!data)
|
||||||
{
|
{
|
||||||
data = replybuf;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data_len)
|
if (!data_len)
|
||||||
|
@ -244,7 +243,7 @@ const struct rot_caps gs232_generic_rot_caps =
|
||||||
ROT_MODEL(ROT_MODEL_GS232_GENERIC),
|
ROT_MODEL(ROT_MODEL_GS232_GENERIC),
|
||||||
.model_name = "GS-232 Generic",
|
.model_name = "GS-232 Generic",
|
||||||
.mfg_name = "Various",
|
.mfg_name = "Various",
|
||||||
.version = "0.3",
|
.version = "20200424",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_BETA,
|
.status = RIG_STATUS_BETA,
|
||||||
.rot_type = ROT_TYPE_AZEL,
|
.rot_type = ROT_TYPE_AZEL,
|
||||||
|
|
|
@ -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