Implement Rot.set_ext_parm()

pull/1726/head
Daniele Forsi IU5HKX 2025-06-02 19:46:35 +02:00
rodzic f7710d96b0
commit be1a558e0d
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -70,6 +70,7 @@ class TestClass:
assert rot.set_ext_func(0, 0) is None
assert rot.set_ext_level(0, value) is None
assert rot.set_ext_parm(0, value) is None
status = 0
assert rot.set_func(1, status) is None

Wyświetl plik

@ -91,6 +91,7 @@ typedef struct Rot {
ROTMETHOD2(set_ext_func, hamlib_token_t, int)
ROTMETHOD2(set_ext_level, hamlib_token_t, value_t)
ROTMETHOD2(set_ext_parm, hamlib_token_t, value_t)
ROTMETHOD2(set_func, setting_t, int)
extern void get_func(setting_t func, int *OUTPUT);