From 98e75bb16cc16bafd2238e0f552a03742aa87931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sat, 3 May 2003 11:24:44 +0000 Subject: [PATCH] added explicit CWR support, print full vfo name in debug messages git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1467 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- yaesu/ft847.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/yaesu/ft847.c b/yaesu/ft847.c index b9811f325..29dc930fc 100644 --- a/yaesu/ft847.c +++ b/yaesu/ft847.c @@ -6,7 +6,7 @@ * via serial interface to an FT-847 using the "CAT" interface. * * - * $Id: ft847.c,v 1.22 2003-04-07 22:42:05 fillods Exp $ + * $Id: ft847.c,v 1.23 2003-05-03 11:24:44 fillods Exp $ * * * @@ -460,7 +460,7 @@ int ft847_set_freq(RIG *rig, vfo_t vfo, freq_t freq) { */ - rig_debug(RIG_DEBUG_VERBOSE,"ft847: vfo =%i \n", vfo); + rig_debug(RIG_DEBUG_VERBOSE,"ft847: vfo =%s \n", strvfo(vfo)); switch(vfo) { case RIG_VFO_MAIN: @@ -517,7 +517,7 @@ static int get_freq_and_mode(RIG *rig, vfo_t vfo, freq_t *freq, rmode_t *mode, p = (struct ft847_priv_data*)rs->priv; - rig_debug(RIG_DEBUG_VERBOSE,"ft847: vfo =%i \n", vfo); + rig_debug(RIG_DEBUG_VERBOSE,"ft847: vfo =%s \n", strvfo(vfo)); if (vfo == RIG_VFO_MAIN) vfo = p->current_vfo; @@ -562,13 +562,11 @@ static int get_freq_and_mode(RIG *rig, vfo_t vfo, freq_t *freq, rmode_t *mode, *mode = RIG_MODE_CW; break; -#ifdef RIG_MODE_CWR case MD_CWNR: *width = rig_passband_narrow(rig, RIG_MODE_CW); case MD_CWR: *mode = RIG_MODE_CWR; break; -#endif case MD_AMN: *width = rig_passband_narrow(rig, RIG_MODE_AM);