From 7b7293c701e40d67fc50033a22fafbc56df410d4 Mon Sep 17 00:00:00 2001 From: "Nate Bargmann, N0NB" Date: Mon, 12 Jan 2009 12:29:17 +0000 Subject: [PATCH] Commented out filter definitions as these radios do not support setting of passband. Thanks to Rich Newsom WA4SXZ for testing. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2583 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- yaesu/ft857.c | 28 ++++++++++++++++++---------- yaesu/ft897.c | 28 ++++++++++++++++++---------- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/yaesu/ft857.c b/yaesu/ft857.c index 8d7818ca1..12d5fa8e4 100644 --- a/yaesu/ft857.c +++ b/yaesu/ft857.c @@ -13,7 +13,7 @@ * The starting point for this code was Frank's ft847 implementation. * * - * $Id: ft857.c,v 1.11 2008-10-31 22:09:11 fillods Exp $ + * $Id: ft857.c,v 1.12 2009-01-12 12:29:17 n0nb Exp $ * * * This library is free software; you can redistribute it and/or @@ -231,17 +231,25 @@ const struct rig_caps ft857_caps = { {FT857_AM_FM_RX_MODES,10}, {FT857_AM_FM_RX_MODES,100}, RIG_TS_END, - }, - - .filters = { - {RIG_MODE_SSB|RIG_MODE_CW|RIG_MODE_CWR|RIG_MODE_RTTY, kHz(2.2)}, - {RIG_MODE_AM, kHz(6)}, - {RIG_MODE_FM|RIG_MODE_PKTFM, kHz(15)}, - {RIG_MODE_FM|RIG_MODE_PKTFM, kHz(9)}, - {RIG_MODE_WFM, kHz(230)}, /* ?? */ - RIG_FLT_END, }, + /* filter selection is not supported by CAT functions + * per testing by Rich Newsom, WA4SXZ + */ + .filters = { +// {RIG_MODE_SSB, kHz(2.2)}, +// {RIG_MODE_CW, kHz(2.2)}, +// {RIG_MODE_CWR, kHz(2.2)}, +// {RIG_MODE_RTTY, kHz(2.2)}, +// {RIG_MODE_AM, kHz(6)}, +// {RIG_MODE_FM, kHz(15)}, +// {RIG_MODE_PKTFM, kHz(15)}, +// {RIG_MODE_FM, kHz(9)}, +// {RIG_MODE_PKTFM, kHz(9)}, +// {RIG_MODE_WFM, kHz(230)}, /* ?? */ + RIG_FLT_END, + }, + .priv = NULL, .rig_init = ft857_init, .rig_cleanup = ft857_cleanup, diff --git a/yaesu/ft897.c b/yaesu/ft897.c index 8fdcdee5a..f8daefc20 100644 --- a/yaesu/ft897.c +++ b/yaesu/ft897.c @@ -11,7 +11,7 @@ * The starting point for this code was Frank's ft847 implementation. * * - * $Id: ft897.c,v 1.9 2008-10-31 22:09:11 fillods Exp $ + * $Id: ft897.c,v 1.10 2009-01-12 12:29:17 n0nb Exp $ * * * This library is free software; you can redistribute it and/or @@ -264,17 +264,25 @@ const struct rig_caps ft897_caps = { {FT897_AM_FM_RX_MODES,10}, {FT897_AM_FM_RX_MODES,100}, RIG_TS_END, - }, - - .filters = { - {RIG_MODE_SSB|RIG_MODE_CW|RIG_MODE_CWR|RIG_MODE_RTTY, kHz(2.2)}, - {RIG_MODE_AM, kHz(6)}, - {RIG_MODE_FM|RIG_MODE_PKTFM, kHz(15)}, - {RIG_MODE_FM|RIG_MODE_PKTFM, kHz(9)}, - {RIG_MODE_WFM, kHz(230)}, /* ?? */ - RIG_FLT_END, }, + /* filter selection is not supported by CAT functions + * per testing by Rich Newsom, WA4SXZ + */ + .filters = { +// {RIG_MODE_SSB, kHz(2.2)}, +// {RIG_MODE_CW, kHz(2.2)}, +// {RIG_MODE_CWR, kHz(2.2)}, +// {RIG_MODE_RTTY, kHz(2.2)}, +// {RIG_MODE_AM, kHz(6)}, +// {RIG_MODE_FM, kHz(15)}, +// {RIG_MODE_PKTFM, kHz(15)}, +// {RIG_MODE_FM, kHz(9)}, +// {RIG_MODE_PKTFM, kHz(9)}, +// {RIG_MODE_WFM, kHz(230)}, /* ?? */ + RIG_FLT_END, + }, + .priv = NULL, .rig_init = ft897_init, .rig_cleanup = ft897_cleanup,