kopia lustrzana https://github.com/Hamlib/Hamlib
Add stop_voice_mem to some icom rigs
Also add send_voice_mem to IC275pull/1432/head
rodzic
4f0393d6ad
commit
cb34dc3b20
|
@ -143,6 +143,8 @@ const struct rig_caps ic275_caps =
|
|||
.set_mode = icom_set_mode,
|
||||
.get_mode = icom_get_mode,
|
||||
.set_vfo = icom_set_vfo,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.stop_voice_mem = icom_stop_voice_mem,
|
||||
|
||||
.decode_event = icom_decode_event,
|
||||
.set_mem = icom_set_mem,
|
||||
|
|
|
@ -929,6 +929,7 @@ const struct rig_caps ic7300_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.stop_voice_mem = icom_stop_voice_mem,
|
||||
.set_clock = ic7300_set_clock,
|
||||
.get_clock = ic7300_get_clock,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
|
@ -1251,6 +1252,7 @@ struct rig_caps ic9700_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.stop_voice_mem = icom_stop_voice_mem,
|
||||
.set_clock = ic9700_set_clock,
|
||||
.get_clock = ic9700_get_clock,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
|
@ -1525,6 +1527,7 @@ const struct rig_caps ic705_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.stop_voice_mem = icom_stop_voice_mem,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
};
|
||||
|
||||
|
@ -1795,6 +1798,7 @@ const struct rig_caps ic905_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.stop_voice_mem = icom_stop_voice_mem,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS,
|
||||
};
|
||||
|
||||
|
|
|
@ -603,6 +603,7 @@ struct rig_caps ic7610_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.stop_voice_mem = icom_stop_voice_mem,
|
||||
.set_clock = ic7610_set_clock,
|
||||
.get_clock = ic7610_get_clock,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
|
|
|
@ -9500,6 +9500,10 @@ int icom_get_level_raw(RIG *rig, setting_t level, int cmd, int subcmd,
|
|||
RETURNFUNC(RIG_OK);
|
||||
}
|
||||
|
||||
int icom_stop_voice_mem(RIG *rig, vfo_t vfo)
|
||||
{
|
||||
return icom_send_voice_mem(rig, vfo, 0);
|
||||
}
|
||||
/*
|
||||
* icom_send_voice_mem
|
||||
* Assumes rig!=NULL, rig->state.priv!=NULL
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20231113"
|
||||
#define BACKEND_VER "20231116"
|
||||
|
||||
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
||||
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
||||
|
@ -390,6 +390,7 @@ int icom_mW2power(RIG *rig, float *power, unsigned int mwpower, freq_t freq,
|
|||
int icom_send_morse(RIG *rig, vfo_t vfo, const char *msg);
|
||||
int icom_stop_morse(RIG *rig, vfo_t vfo);
|
||||
int icom_send_voice_mem(RIG *rig, vfo_t vfo, int bank);
|
||||
int icom_stop_voice_mem(RIG *rig, vfo_t vfo);
|
||||
/* Exposed routines */
|
||||
int icom_get_split_vfos(RIG *rig, vfo_t *rx_vfo, vfo_t *tx_vfo);
|
||||
int icom_set_raw(RIG *rig, int cmd, int subcmd, int subcmdbuflen,
|
||||
|
|
Ładowanie…
Reference in New Issue