Merge pull request #279 from drowe67/ms-2020b-disable

Add missed 2020B disable when AVX doesn't exist.
pull/280/head
Mooneer Salem 2022-09-15 22:52:51 -07:00 committed by GitHub
commit 6da9dc8a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

View File

@ -582,6 +582,10 @@ FMA - Supports FMA extensions using YMM state</code></pre>
<ul>
<li>Updates to reflect LPCNet decoupling from Codec2 (PR #274)</li>
</ul></li>
<li>Bugfixes:
<ul>
<li>Add missed UI disable on startup for 2020B mode. (PR #279)</li>
</ul></li>
</ol>
<h2 id="v1.8.3.1-august-2022"><span class="header-section-number">16.2</span> V1.8.3.1 August 2022</h2>
<ol type="1">

View File

@ -795,6 +795,8 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes
1. Build system:
* Updates to reflect LPCNet decoupling from Codec2 (PR #274)
2. Bugfixes:
* Add missed UI disable on startup for 2020B mode. (PR #279)
## V1.8.3.1 August 2022

Binary file not shown.

View File

@ -502,8 +502,13 @@ MainFrame::MainFrame(wxWindow *parent) : TopFrame(parent, wxID_ANY, _("FreeDV ")
// fast enough
checkAvxSupport();
if(!isAvxPresent)
{
m_rb2020->Disable();
#if defined(FREEDV_MODE_2020B)
m_rb2020b->Disable();
#endif // FREEDV_MODE_2020B
}
tools->AppendSeparator();
wxMenuItem* m_menuItemToolsConfigDelete;
m_menuItemToolsConfigDelete = new wxMenuItem(tools, wxID_ANY, wxString(_("&Restore defaults")) , wxT("Delete config file/keys and restore defaults"), wxITEM_NORMAL);