Rename RADE to RADEV1. (#788)

* Rename RADE to RADEV1.

* Fix GH action failures.
ms-uninstall-pycache
Mooneer Salem 2024-12-15 01:41:54 -08:00 committed by GitHub
parent 7d88772dd9
commit e86bc18213
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 10 additions and 8 deletions

View File

@ -152,7 +152,7 @@ jobs:
shell: pwsh
working-directory: ${{github.workspace}}\FreeDV-Install-Location\bin
run: |
.\TestFreeDVFullDuplex.ps1 -RadioToComputerDevice "${{env.RADIO_TO_COMPUTER_DEVICE}}" -ComputerToRadioDevice "${{env.COMPUTER_TO_RADIO_DEVICE}}" -MicrophoneToComputerDevice "${{env.MICROPHONE_TO_COMPUTER_DEVICE}}" -ComputerToSpeakerDevice "${{env.COMPUTER_TO_SPEAKER_DEVICE}}" -ModeToTest RADE -NumberOfRuns 1
.\TestFreeDVFullDuplex.ps1 -RadioToComputerDevice "${{env.RADIO_TO_COMPUTER_DEVICE}}" -ComputerToRadioDevice "${{env.COMPUTER_TO_RADIO_DEVICE}}" -MicrophoneToComputerDevice "${{env.MICROPHONE_TO_COMPUTER_DEVICE}}" -ComputerToSpeakerDevice "${{env.COMPUTER_TO_SPEAKER_DEVICE}}" -ModeToTest RADEV1 -NumberOfRuns 1
timeout-minutes: 5
- name: Test 700D

View File

@ -727,7 +727,7 @@ macro(DefineAudioTest utName)
set_tests_properties(fullduplex_${utName} PROPERTIES PASS_REGULAR_EXPRESSION "Got 1 sync changes")
endmacro()
DefineAudioTest(RADE)
DefineAudioTest(RADEV1)
DefineAudioTest(700D)
DefineAudioTest(700E)
DefineAudioTest(1600)

View File

@ -55,7 +55,7 @@ static const char* GetCurrentModeStrImpl_(int mode)
case FREEDV_MODE_800XA:
return "800XA";
case FREEDV_MODE_RADE:
return "RADE";
return "RADEV1";
default:
return "unk";
}

View File

@ -9,6 +9,8 @@ add_library(fdv_gui_dialogs STATIC
target_include_directories(fdv_gui_dialogs PRIVATE ${CODEC2_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/../.. ${CMAKE_CURRENT_BINARY_DIR}/../..)
add_dependencies(fdv_gui_dialogs opus)
if(BOOTSTRAP_WXWIDGETS)
add_dependencies(fdv_gui_dialogs wx::core wx::base wx::aui wx::html wx::net wx::adv wx::propgrid wx::xrc)
target_compile_definitions(fdv_gui_dialogs PRIVATE ${WXBUILD_BUILD_DEFS})

View File

@ -241,7 +241,7 @@ void MainApp::UnitTest_()
// Select FreeDV mode. Note, 2020 is deprecated so not testable here.
wxRadioButton* modeBtn = nullptr;
if (utFreeDVMode == "RADE")
if (utFreeDVMode == "RADEV1")
{
modeBtn = frame->m_rbRADE;
}
@ -2174,7 +2174,7 @@ void MainFrame::OnChangeTxMode( wxCommandEvent& event )
if (eventObject != nullptr)
{
std::string label = (const char*)eventObject->GetLabel().ToUTF8();
if (label == "700D" || label == "700E" || label == "1600" || label == "RADE")
if (label == "700D" || label == "700E" || label == "1600" || label == "RADEV1")
{
hiddenModeToSet = m_hiddenMode2;
}

View File

@ -671,7 +671,7 @@ TopFrame::TopFrame(wxWindow* parent, wxWindowID id, const wxString& title, const
modeBox = new wxStaticBox(m_panel, wxID_ANY, _("&Mode"), wxDefaultPosition, wxSize(100,-1));
sbSizer_mode = new wxStaticBoxSizer(modeBox, wxVERTICAL);
m_rbRADE = new wxRadioButton( modeBox, wxID_ANY, wxT("RADE"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
m_rbRADE = new wxRadioButton( modeBox, wxID_ANY, wxT("RADEV1"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
sbSizer_mode->Add(m_rbRADE, 0, wxALIGN_LEFT|wxALL, 1);
m_rb700d = new wxRadioButton( modeBox, wxID_ANY, wxT("700D"), wxDefaultPosition, wxDefaultSize, 0);
sbSizer_mode->Add(m_rb700d, 0, wxALIGN_LEFT|wxALL, 1);

View File

@ -44,11 +44,11 @@ param (
# The sound device to emit TX audio to.
$ComputerToRadioDevice,
[ValidateSet("RADE", "700D", "700E", "1600")]
[ValidateSet("RADEV1", "700D", "700E", "1600")]
[ValidateNotNullOrEmpty()]
[string]
# The FreeDV mode to use for testing.
$ModeToTest="RADE",
$ModeToTest="RADEV1",
[int]
# The number of times to execute the test.