From 481cdbd62c18347b94deab9d30965b43403a284d Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Fri, 4 Sep 2020 07:26:11 -0500 Subject: [PATCH] Fix linking for ft817_set_powerstat --- rigs/yaesu/ft817.h | 2 +- rigs/yaesu/ft897.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rigs/yaesu/ft817.h b/rigs/yaesu/ft817.h index 30b3314bf..d5f1a2192 100644 --- a/rigs/yaesu/ft817.h +++ b/rigs/yaesu/ft817.h @@ -158,7 +158,7 @@ static int ft817_set_rptr_shift (RIG *rig, vfo_t vfo, rptr_shift_t shift); static int ft817_set_rptr_offs (RIG *rig, vfo_t vfo, shortfreq_t offs); static int ft817_set_rit (RIG *rig, vfo_t vfo, shortfreq_t rit); static int ft817_get_dcd (RIG *rig, vfo_t vfo, dcd_t *dcd); -static int ft817_set_powerstat (RIG *rig, powerstat_t status); +int ft817_set_powerstat (RIG *rig, powerstat_t status); static int ft817_vfo_op (RIG *rig, vfo_t vfo, vfo_op_t op); static int ft817_get_split_vfo (RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo); static int ft817_set_split_vfo (RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo); diff --git a/rigs/yaesu/ft897.c b/rigs/yaesu/ft897.c index 1e90ddfd7..15ec9d523 100644 --- a/rigs/yaesu/ft897.c +++ b/rigs/yaesu/ft897.c @@ -321,6 +321,7 @@ const struct rig_caps ft897_caps = .set_ctcss_tone = ft897_set_ctcss_tone, .set_dcs_sql = ft897_set_dcs_sql, .set_ctcss_sql = ft897_set_ctcss_sql, + .set_powerstat = ft817_set_powerstat, .get_level = ft897_get_level, .set_func = ft897_set_func, .vfo_op = ft897_vfo_op,