From afed664b2c340327bc8912c39375c57d496ea5aa Mon Sep 17 00:00:00 2001 From: Mikael Nousiainen Date: Sun, 25 Oct 2020 22:30:40 +0200 Subject: [PATCH] Fix roofing filter set by width (cherry picked from commit 25adec088a00933cabb8f1f5256dc0b70d6a109a) --- rigs/yaesu/newcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 0cc0ce72e..12e0a3825 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -6334,13 +6334,13 @@ static int set_roofing_filter_for_width(RIG *rig, vfo_t vfo, int width) continue; } - index = i; - // The last filter is always the narrowest if (current_filter->width < width) { break; } + + index = i; } if (index < 0)