| 492 | } |
| 493 | |
| 494 | static QString oscillatorSourceLabel(const QString& value) |
| 495 | { |
| 496 | const QString normalized = normalizedOscillatorValue(value); |
| 497 | if (normalized == "auto") return QStringLiteral("Auto"); |
| 498 | if (normalized == "external") return QStringLiteral("External 10 MHz"); |
| 499 | if (normalized == "gpsdo") return QStringLiteral("GPSDO"); |
| 500 | if (normalized == "tcxo") return QStringLiteral("TCXO"); |
| 501 | return value.trimmed().isEmpty() ? QStringLiteral("Unknown") : value.toUpper(); |
| 502 | } |
| 503 | |
| 504 | static QString oscillatorStatusText(const RadioModel* model) |
| 505 | { |
no test coverage detected