mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
Add airspeed type selction to summary
This commit is contained in:
parent
e2e437627b
commit
135853d5a1
@ -390,6 +390,26 @@ QString SetupWizard::getSummaryText()
|
||||
summary.append(tr("None"));
|
||||
}
|
||||
}
|
||||
|
||||
// Show Airspeed sensor type
|
||||
if ((getControllerType() == CONTROLLER_REVO || getControllerType() == CONTROLLER_NANO) && getVehicleType() == VEHICLE_FIXEDWING) {
|
||||
summary.append("<br>");
|
||||
summary.append("<b>").append(tr("Airspeed Sensor: ")).append("</b>");
|
||||
switch (getAirspeedType()) {
|
||||
case ESTIMATE:
|
||||
summary.append(tr("Software Estimated"));
|
||||
break;
|
||||
case EAGLETREE:
|
||||
summary.append(tr("EagleTree on Flexi-Port"));
|
||||
break;
|
||||
case MS4525:
|
||||
summary.append(tr("MS4525 based on Flexi-Port"));
|
||||
break;
|
||||
default:
|
||||
summary.append(tr("Unknown"));
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
summary.append("<br>");
|
||||
summary.append("<b>").append(tr("Reboot required: ")).append("</b>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user