MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / oscillatorSourceLabel

Function oscillatorSourceLabel

src/gui/RadioSetupDialog.cpp:494–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492}
493
494static 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
504static QString oscillatorStatusText(const RadioModel* model)
505{

Callers 1

oscillatorStatusTextFunction · 0.85

Calls 2

isEmptyMethod · 0.45

Tested by

no test coverage detected