1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-26 15:54:15 +01:00

OP-1761 Fixes to summary page and connection diagram.

This commit is contained in:
m_thread 2015-03-06 00:18:00 +01:00
parent 1a21b8fce6
commit 9aaf1d6984
2 changed files with 4 additions and 1 deletions

View File

@ -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_RAPID) {
m_configSource->getEscType() == VehicleConfigurationSource::ESC_SYNCHED) {
suffix = "-oneshot";
}
break;

View File

@ -385,6 +385,9 @@ QString SetupWizard::getSummaryText()
case ESC_RAPID:
summary.append(tr("Rapid ESC (%1 Hz)").arg(VehicleConfigurationHelper::RAPID_ESC_FREQUENCY));
break;
case ESC_SYNCHED:
summary.append(tr("Synched ESC"));
break;
case ESC_ONESHOT:
summary.append(tr("Oneshot ESC"));
break;