Fix roofing filter set by width

pull/426/head
Mikael Nousiainen 2020-10-25 22:30:40 +02:00
rodzic d4e434fa20
commit 25adec088a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -6334,13 +6334,13 @@ static int set_roofing_filter_for_width(RIG *rig, vfo_t vfo, int width)
continue; continue;
} }
index = i;
// The last filter is always the narrowest // The last filter is always the narrowest
if (current_filter->width < width) if (current_filter->width < width)
{ {
break; break;
} }
index = i;
} }
if (index < 0) if (index < 0)