From ffeb3b44cf39f9467c5ae356ad31cb2082fa148d Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Sun, 18 Oct 2020 14:16:44 -0500 Subject: [PATCH] Add wait_morse for icom rigs https://github.com/Hamlib/Hamlib/issues/422 --- rigs/icom/ic7100.c | 3 ++- rigs/icom/ic7300.c | 3 +++ rigs/icom/ic7410.c | 2 +- rigs/icom/ic7610.c | 3 ++- rigs/icom/ic7700.c | 3 ++- rigs/icom/ic7800.c | 3 ++- rigs/icom/ic785x.c | 4 ++-- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/rigs/icom/ic7100.c b/rigs/icom/ic7100.c index 3fd0e0857..17c66ccb2 100644 --- a/rigs/icom/ic7100.c +++ b/rigs/icom/ic7100.c @@ -392,5 +392,6 @@ const struct rig_caps ic7100_caps = .set_powerstat = icom_set_powerstat, .get_powerstat = icom_get_powerstat, .send_morse = icom_send_morse, - .stop_morse = icom_stop_morse + .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse }; diff --git a/rigs/icom/ic7300.c b/rigs/icom/ic7300.c index 7f3f86f7d..1ade74725 100644 --- a/rigs/icom/ic7300.c +++ b/rigs/icom/ic7300.c @@ -445,6 +445,7 @@ const struct rig_caps ic7300_caps = .mW2power = icom_mW2power, .send_morse = icom_send_morse, .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse, .send_voice_mem = icom_send_voice_mem }; @@ -691,6 +692,7 @@ const struct rig_caps ic9700_caps = .mW2power = icom_mW2power, .send_morse = icom_send_morse, .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse, .send_voice_mem = icom_send_voice_mem }; @@ -895,6 +897,7 @@ const struct rig_caps ic705_caps = .mW2power = icom_mW2power, .send_morse = icom_send_morse, .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse, .send_voice_mem = icom_send_voice_mem }; diff --git a/rigs/icom/ic7410.c b/rigs/icom/ic7410.c index 48ee78424..8c8747242 100644 --- a/rigs/icom/ic7410.c +++ b/rigs/icom/ic7410.c @@ -274,5 +274,5 @@ const struct rig_caps ic7410_caps = .get_split_vfo = icom_mem_get_split_vfo, .send_morse = icom_send_morse, .stop_morse = icom_stop_morse, - + .wait_morse = rig_stop_morse }; diff --git a/rigs/icom/ic7610.c b/rigs/icom/ic7610.c index 9a80a9d87..ca9d5a8a2 100644 --- a/rigs/icom/ic7610.c +++ b/rigs/icom/ic7610.c @@ -327,5 +327,6 @@ const struct rig_caps ic7610_caps = .get_split_vfo = icom_get_split_vfo, .set_powerstat = icom_set_powerstat, .get_powerstat = icom_get_powerstat, - .stop_morse = icom_stop_morse + .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse }; diff --git a/rigs/icom/ic7700.c b/rigs/icom/ic7700.c index 20d801823..b4fd5d292 100644 --- a/rigs/icom/ic7700.c +++ b/rigs/icom/ic7700.c @@ -313,5 +313,6 @@ const struct rig_caps ic7700_caps = .set_powerstat = icom_set_powerstat, .get_powerstat = icom_get_powerstat, .send_morse = icom_send_morse, - .stop_morse = icom_stop_morse + .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse }; diff --git a/rigs/icom/ic7800.c b/rigs/icom/ic7800.c index 268cd5685..0ced23882 100644 --- a/rigs/icom/ic7800.c +++ b/rigs/icom/ic7800.c @@ -316,7 +316,8 @@ const struct rig_caps ic7800_caps = .set_powerstat = icom_set_powerstat, .get_powerstat = icom_get_powerstat, .send_morse = icom_send_morse, - .stop_morse = icom_stop_morse + .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse }; /* diff --git a/rigs/icom/ic785x.c b/rigs/icom/ic785x.c index fcfe6fd2a..32ddbfe91 100644 --- a/rigs/icom/ic785x.c +++ b/rigs/icom/ic785x.c @@ -322,8 +322,8 @@ const struct rig_caps ic785x_caps = .set_powerstat = icom_set_powerstat, .get_powerstat = icom_get_powerstat, .send_morse = icom_send_morse, - .stop_morse = icom_stop_morse - + .stop_morse = icom_stop_morse, + .wait_morse = rig_stop_morse }; int ic785x_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)