diff --git a/bindings/python/test_rot.py b/bindings/python/test_rot.py index 72c1eeea2..39deda45c 100644 --- a/bindings/python/test_rot.py +++ b/bindings/python/test_rot.py @@ -68,6 +68,7 @@ class TestClass: assert rot.park() is None assert rot.reset(Hamlib.ROT_RESET_ALL) is None + assert rot.set_ext_func(0, 0) is None assert rot.set_ext_level(0, value) is None status = 0 diff --git a/bindings/rotator.swg b/bindings/rotator.swg index c5136590a..0e5507a3f 100644 --- a/bindings/rotator.swg +++ b/bindings/rotator.swg @@ -89,6 +89,7 @@ typedef struct Rot { ROTMETHOD0(open) ROTMETHOD0(close) + ROTMETHOD2(set_ext_func, hamlib_token_t, int) ROTMETHOD2(set_ext_level, hamlib_token_t, value_t) ROTMETHOD2(set_func, setting_t, int)