diff --git a/ground/openpilotgcs/src/plugins/setupwizard/connectiondiagram.cpp b/ground/openpilotgcs/src/plugins/setupwizard/connectiondiagram.cpp index c782202ee..adea4b89f 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/connectiondiagram.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/connectiondiagram.cpp @@ -168,7 +168,7 @@ void ConnectionDiagram::setupGraphicsScene() case VehicleConfigurationSource::CONTROLLER_CC3D: prefix = "cc-"; if (m_configSource->getEscType() == VehicleConfigurationSource::ESC_ONESHOT || - m_configSource->getEscType() == VehicleConfigurationSource::ESC_SYNCHED) { + m_configSource->getEscType() == VehicleConfigurationSource::ESC_SYNCHED) { suffix = "-oneshot"; } break; diff --git a/ground/openpilotgcs/src/plugins/setupwizard/pages/escpage.cpp b/ground/openpilotgcs/src/plugins/setupwizard/pages/escpage.cpp index 28db2117f..92bd64206 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/pages/escpage.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/pages/escpage.cpp @@ -52,7 +52,6 @@ bool EscPage::validatePage() } else { getWizard()->setEscType(SetupWizard::ESC_RAPID); } - } else if (ui->defaultESCButton->isChecked()) { getWizard()->setEscType(SetupWizard::ESC_STANDARD); }