kopia lustrzana https://github.com/Hamlib/Hamlib
Merge pull request #910 from arodland/rt21-azel-spurious
Fix spurious writes when no RT-21 second portpull/913/head
commit
e6be62c4af
|
@ -493,7 +493,6 @@ static int rt21_rot_set_position(ROT *rot, azimuth_t azimuth,
|
||||||
{
|
{
|
||||||
sprintf(cmdstr, "AP1%05.1f\r;",
|
sprintf(cmdstr, "AP1%05.1f\r;",
|
||||||
elevation); /* Total field width of 5 chars */
|
elevation); /* Total field width of 5 chars */
|
||||||
}
|
|
||||||
|
|
||||||
err = rotorez_send_priv_cmd2(rot, cmdstr);
|
err = rotorez_send_priv_cmd2(rot, cmdstr);
|
||||||
|
|
||||||
|
@ -501,7 +500,7 @@ static int rt21_rot_set_position(ROT *rot, azimuth_t azimuth,
|
||||||
{
|
{
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1101,3 +1100,4 @@ DECLARE_INITROT_BACKEND(rotorez)
|
||||||
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue