From 0b900c0b471119532242dec2e1906c241470126e Mon Sep 17 00:00:00 2001 From: dh1tw Date: Fri, 10 Jun 2016 23:03:56 +0200 Subject: [PATCH] added get/set_conf for FT1200, FT2000, FT450, FT5000 and FT9000 --- yaesu/ft1200.c | 3 +++ yaesu/ft2000.c | 4 +++- yaesu/ft450.c | 6 ++++-- yaesu/ft5000.c | 4 +++- yaesu/ft9000.c | 4 +++- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/yaesu/ft1200.c b/yaesu/ft1200.c index 6e54c31c4..309bdfcd3 100644 --- a/yaesu/ft1200.c +++ b/yaesu/ft1200.c @@ -163,6 +163,9 @@ const struct rig_caps ft1200_caps = { .rig_open = newcat_open, /* port opened */ .rig_close = newcat_close, /* port closed */ + .cfgparams = newcat_cfg_params, + .set_conf = newcat_set_conf, + .get_conf = newcat_get_conf, .set_freq = newcat_set_freq, .get_freq = newcat_get_freq, .set_mode = newcat_set_mode, diff --git a/yaesu/ft2000.c b/yaesu/ft2000.c index 75496429a..e3e5e75eb 100644 --- a/yaesu/ft2000.c +++ b/yaesu/ft2000.c @@ -162,6 +162,9 @@ const struct rig_caps ft2000_caps = { .rig_open = newcat_open, /* port opened */ .rig_close = newcat_close, /* port closed */ + .cfgparams = newcat_cfg_params, + .set_conf = newcat_set_conf, + .get_conf = newcat_get_conf, .set_freq = newcat_set_freq, .get_freq = newcat_get_freq, .set_mode = newcat_set_mode, @@ -204,4 +207,3 @@ const struct rig_caps ft2000_caps = { .get_channel = newcat_get_channel, }; - diff --git a/yaesu/ft450.c b/yaesu/ft450.c index 7217a3dfd..ad11220bc 100644 --- a/yaesu/ft450.c +++ b/yaesu/ft450.c @@ -160,7 +160,10 @@ const struct rig_caps ft450_caps = { .rig_cleanup = newcat_cleanup, .rig_open = newcat_open, /* port opened */ .rig_close = newcat_close, /* port closed */ - + + .cfgparams = newcat_cfg_params, + .set_conf = newcat_set_conf, + .get_conf = newcat_get_conf, .set_freq = newcat_set_freq, .get_freq = newcat_get_freq, .set_mode = newcat_set_mode, @@ -199,4 +202,3 @@ const struct rig_caps ft450_caps = { .get_channel = newcat_get_channel, }; - diff --git a/yaesu/ft5000.c b/yaesu/ft5000.c index 9af9a2386..e04ae0284 100644 --- a/yaesu/ft5000.c +++ b/yaesu/ft5000.c @@ -162,6 +162,9 @@ const struct rig_caps ftdx5000_caps = { .rig_open = newcat_open, /* port opened */ .rig_close = newcat_close, /* port closed */ + .cfgparams = newcat_cfg_params, + .set_conf = newcat_set_conf, + .get_conf = newcat_get_conf, .set_freq = newcat_set_freq, .get_freq = newcat_get_freq, .set_mode = newcat_set_mode, @@ -204,4 +207,3 @@ const struct rig_caps ftdx5000_caps = { .get_channel = newcat_get_channel, }; - diff --git a/yaesu/ft9000.c b/yaesu/ft9000.c index bdb58a2ae..1110fe6d4 100644 --- a/yaesu/ft9000.c +++ b/yaesu/ft9000.c @@ -163,6 +163,9 @@ const struct rig_caps ft9000_caps = { .rig_open = newcat_open, /* port opened */ .rig_close = newcat_close, /* port closed */ + .cfgparams = newcat_cfg_params, + .set_conf = newcat_set_conf, + .get_conf = newcat_get_conf, .set_freq = newcat_set_freq, .get_freq = newcat_get_freq, .set_mode = newcat_set_mode, @@ -205,4 +208,3 @@ const struct rig_caps ft9000_caps = { .get_channel = newcat_get_channel, }; -