Fix setting the mode (e.g. FM, USB, LSB)

This commit is contained in:
Rui Oliveira committed 2026-07-24 20:10:10 +01:00
1 parent 77dfb7bb05
commit c7089ab314
4 files changed
+89 -12

No files matched your search

@@ -41,10 +41,16 @@ interface IRadioController {
// ── Extended operations (IC-705 / CI-V) ──────────────────────────────
/**
* Select the band matching [frequencyHz] via the band stacking register.
* Must be called before [setFrequency] and [setMode] when first tracking.
* Default: no-op (Yaesu radios auto-switch band via frequency).
*/
suspend fun setBand(frequencyHz: Long): Boolean = false
/**
* Select the active VFO.
* @param vfoA true → VFO-A (main/RX), false → VFO-B (sub/TX in split).
* Default: no-op.
*/
suspend fun setVfo(vfoA: Boolean): Boolean = false