Fix Rig.get_ant()

pull/1726/head
Daniele Forsi IU5HKX 2025-05-31 23:08:37 +02:00
rodzic 65ffc5426b
commit 591f7cf5c8
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -62,7 +62,10 @@ class TestClass:
rig.caps
rig.close()
rig.ext_token_lookup("")
# FIXME rig.get_ant()
option = Hamlib.value_t()
ant = 0 # FIXME use constants RIG_ANT_* when available
rig.get_ant(option, ant, 0)
option.i == 0
rig.get_chan_all()
rig.get_channel(0, 0, 0)
rig.get_channel(0, 0)

Wyświetl plik

@ -453,7 +453,7 @@ typedef channel_t * const_channel_t_p;
METHOD1VGET(get_rit, shortfreq_t)
METHOD1VGET(get_xit, shortfreq_t)
METHOD1VGET(get_ts, shortfreq_t)
extern void get_ant(ant_t *ant_rx, ant_t *ant_tx, ant_t *ant_curr, value_t * OUTPUT, ant_t ant, vfo_t vfo = RIG_VFO_CURR);
extern void get_ant(ant_t *OUTPUT, ant_t *OUTPUT, ant_t *OUTPUT, value_t *OUTPUT, ant_t ant, vfo_t vfo = RIG_VFO_CURR);
extern void get_vfo_info (int *satmode, split_t *split, pbwidth_t *width, rmode_t *mode, freq_t *freq, vfo_t vfo = RIG_VFO_CURR);
METHOD1VGET(get_mem, int)
METHOD1GET(get_powerstat, powerstat_t)