mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-01 05:32:31 -04:00
Merge branch 'release-2.4.0' into develop
This commit is contained in:
commit
f289bb06bb
@ -341,8 +341,7 @@ contains
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
enddo ! icand
|
enddo ! icand
|
||||||
if(iavg.eq.0 .and.navg(iseq).ge.2) go to 50
|
if(iavg.eq.0 .and.navg(iseq).ge.2 .and. iand(ndepth,16).ne.0) go to 50
|
||||||
|
|
||||||
900 return
|
900 return
|
||||||
end subroutine decode
|
end subroutine decode
|
||||||
|
|
||||||
|
@ -965,8 +965,11 @@ auto FrequencyList_v2::all_bands (Region region, Mode mode) const -> BandSet
|
|||||||
BandSet result;
|
BandSet result;
|
||||||
for (auto const& item : m_->frequency_list_)
|
for (auto const& item : m_->frequency_list_)
|
||||||
{
|
{
|
||||||
if (region == IARURegions::ALL || item.region_ == region
|
// Match frequencies that are for all regions, for the specified
|
||||||
|| mode == Modes::ALL || item.mode_ == mode)
|
// region (which can also be "all"), and where the mode matches
|
||||||
|
// the specified mode (which can also be "all").
|
||||||
|
if ((region == IARURegions::ALL || item.region_ == IARURegions::ALL || item.region_ == region)
|
||||||
|
&& (mode == Modes::ALL || item.mode_ == Modes::ALL || item.mode_ == mode))
|
||||||
{
|
{
|
||||||
result << m_->bands_->find (item.frequency_);
|
result << m_->bands_->find (item.frequency_);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user