kopia lustrzana https://github.com/Hamlib/Hamlib
Remove expected response for gs232b W command
https://github.com/Hamlib/Hamlib/issues/272pull/281/head
rodzic
1405d3c7bf
commit
8c27ef12a0
|
@ -186,12 +186,16 @@ gs232b_rot_set_position(ROT *rot, azimuth_t az, elevation_t el)
|
||||||
u_el = (unsigned) rint(el);
|
u_el = (unsigned) rint(el);
|
||||||
|
|
||||||
sprintf(cmdstr, "W%03u %03u" EOM, u_az, u_el);
|
sprintf(cmdstr, "W%03u %03u" EOM, u_az, u_el);
|
||||||
|
#if 0 // do any GS232B models need a reply to the W command?
|
||||||
retval = gs232b_transaction(rot, cmdstr, buf, sizeof(buf), 0);
|
retval = gs232b_transaction(rot, cmdstr, buf, sizeof(buf), 0);
|
||||||
|
#else
|
||||||
|
retval = gs232b_transaction(rot, cmdstr, NULL, 0 , 0);
|
||||||
|
|
||||||
if (retval != RIG_OK)
|
if (retval != RIG_OK)
|
||||||
{
|
{
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
@ -317,7 +321,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 = "20200517",
|
.version = "20200531",
|
||||||
.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