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

Method toggleTwoToneTune

src/models/TransmitModel.cpp:416–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void TransmitModel::toggleTwoToneTune()
417{
418 if (isTuning()) {
419 stopTune();
420 // Revert to single_tone after a two-tone shortcut session so the
421 // next regular Tune press isn't surprised by sticky two-tone state
422 // on the radio. Tune mode is no longer persisted; selecting "Two
423 // Tone" is now a transient one-shot via the TUNE button's right-
424 // click menu in TxApplet.
425 setTuneMode(QStringLiteral("single_tone"));
426 } else {
427 startTwoToneTune();
428 }
429}
430
431void TransmitModel::stopTune()
432{

Callers 2

mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64