From c648175f18bd58a1bc564faeb1072cb9f0a1b74d Mon Sep 17 00:00:00 2001 From: Fredrik Larsson Date: Fri, 7 Nov 2014 22:33:44 +1100 Subject: [PATCH] Use consts, less to change when we mess with this again --- ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp b/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp index 297c45a74..26b9188e4 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp @@ -370,10 +370,10 @@ QString SetupWizard::getSummaryText() summary.append("").append(tr("Speed Controller (ESC) type: ")).append(""); 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"));