diff --git a/bindings/python/test_startup.py b/bindings/python/test_startup.py index a0835ce86..4620ce4dc 100755 --- a/bindings/python/test_startup.py +++ b/bindings/python/test_startup.py @@ -33,7 +33,7 @@ class TestClass: assert my_rig.error_status == Hamlib.RIG_OK assert Hamlib.rigerror2(my_rig.error_status) == "Command completed successfully\n" - assert my_rig.set_freq(5700000000, Hamlib.RIG_VFO_B) is None + assert my_rig.set_freq(Hamlib.RIG_VFO_B, 5700000000) is None assert my_rig.set_vfo(Hamlib.RIG_VFO_B) is None assert my_rig.get_freq() == 5700000000 diff --git a/bindings/rig.swg b/bindings/rig.swg index f0b6a911e..cd30821c2 100644 --- a/bindings/rig.swg +++ b/bindings/rig.swg @@ -364,7 +364,7 @@ typedef channel_t * const_channel_t_p; #define _VFO_ARG ,vfo #define _VFO_DECL ,vfo_t vfo = RIG_VFO_CURR - METHOD1(set_freq, freq_t) + METHOD3(set_freq, freq_t) METHOD2_INIT(set_mode, rmode_t, pbwidth_t, RIG_PASSBAND_NORMAL) METHOD3(set_ptt, ptt_t) METHOD3(set_rptr_shift, rptr_shift_t)