[Companion] Implement print functions for the hell setup screen (fixes 3430) (#3554)
Fixes #3430: added print functions for the hell setup screen
This commit is contained in:
committed by
Damjan Adamic
parent
2cccb99e28
commit
81733b10cc
@@ -202,6 +202,25 @@ QString ModelPrinter::printTrainerMode()
|
||||
return result;
|
||||
}
|
||||
|
||||
QString ModelPrinter::printHeliSwashType ()
|
||||
{
|
||||
switch (model.swashRingData.type) {
|
||||
case HELI_SWASH_TYPE_90:
|
||||
return tr("90");
|
||||
case HELI_SWASH_TYPE_120:
|
||||
return tr("120");
|
||||
case HELI_SWASH_TYPE_120X:
|
||||
return tr("120X");
|
||||
case HELI_SWASH_TYPE_140:
|
||||
return tr("140");
|
||||
case HELI_SWASH_TYPE_NONE:
|
||||
return tr("Off");
|
||||
default:
|
||||
return "???";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
QString ModelPrinter::printCenterBeep()
|
||||
{
|
||||
QStringList strl;
|
||||
|
||||
Reference in New Issue
Block a user