From f7710d96b084100451125662d265859f2ea9cc08 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Mon, 2 Jun 2025 19:46:16 +0200 Subject: [PATCH] Implement Rot.set_ext_func() --- bindings/python/test_rot.py | 1 + bindings/rotator.swg | 1 + 2 files changed, 2 insertions(+) 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)