mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Use consts, less to change when we mess with this again
This commit is contained in:
parent
e6b6aedc76
commit
c648175f18
@ -370,10 +370,10 @@ QString SetupWizard::getSummaryText()
|
||||
summary.append("<b>").append(tr("Speed Controller (ESC) type: ")).append("</b>");
|
||||
switch (getEscType()) {
|
||||
case ESC_STANDARD:
|
||||
summary.append(tr("Standard ESC (50 Hz)"));
|
||||
summary.append(tr("Standard ESC (%1 Hz)").arg(VehicleConfigurationHelper::LEGACY_ESC_FREQUENCY));
|
||||
break;
|
||||
case ESC_RAPID:
|
||||
summary.append(tr("Rapid ESC (490 Hz)"));
|
||||
summary.append(tr("Rapid ESC (%1 Hz)").arg(VehicleConfigurationHelper::RAPID_ESC_FREQUENCY));
|
||||
break;
|
||||
default:
|
||||
summary.append(tr("Unknown"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user