mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-22 19:07:22 +00:00
Patch to fix broken Yaesu backend with FT-2000(D)
Hi All, attached is a patch to correct the Yaesu backend to stop it sending the SH1; command to teh FT-2000(D) radios where it is illegal. 73 Bill G4WJS. commit 8e60a966de140c14fe506f958de92a8e1b738d2c Author: Bill Somerville <bill@classdesign.com> Date: Fri Sep 20 02:10:58 2013 +0100 Fix Yaesu backend using illegal command on FT-2000 The FT-2000 doesn't support the SH1; command used by the get_mode/set_mode function. This was causing a "Protocol error" return when trying to get/set the mode of VFO B. Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
This commit is contained in:
parent
c39b51327b
commit
bf539f052b
@ -4023,7 +4023,6 @@ int newcat_set_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||
return err;
|
||||
|
||||
if (newcat_is_rig(rig, RIG_MODEL_FT9000) ||
|
||||
newcat_is_rig(rig, RIG_MODEL_FT2000) ||
|
||||
newcat_is_rig(rig, RIG_MODEL_FTDX5000))
|
||||
main_sub_vfo = (RIG_VFO_B == vfo) ? '1' : '0';
|
||||
|
||||
@ -4164,7 +4163,6 @@ int newcat_get_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t *width)
|
||||
return err;
|
||||
|
||||
if (newcat_is_rig(rig, RIG_MODEL_FT9000) ||
|
||||
newcat_is_rig(rig, RIG_MODEL_FT2000) ||
|
||||
newcat_is_rig(rig, RIG_MODEL_FTDX5000))
|
||||
main_sub_vfo = (RIG_VFO_B == vfo) ? '1' : '0';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user