chore: release v0.16.3
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// Single source of truth for the app version shown in the UI (header + About).
|
// Single source of truth for the app version shown in the UI (header + About).
|
||||||
// Bump this on a release (the release script updates it alongside telemetry.go).
|
// Bump this on a release (the release script updates it alongside telemetry.go).
|
||||||
export const APP_VERSION = '0.16.2';
|
export const APP_VERSION = '0.16.3';
|
||||||
|
|
||||||
// Author / credits, shown in Help -> About.
|
// Author / credits, shown in Help -> About.
|
||||||
export const APP_AUTHOR = 'F4BPO';
|
export const APP_AUTHOR = 'F4BPO';
|
||||||
|
|||||||
+14
-7
@@ -177,14 +177,21 @@ func (o *OmniRig) ReadState() (RigState, error) {
|
|||||||
BandFromHz(freqA) == BandFromHz(freqB)
|
BandFromHz(freqA) == BandFromHz(freqB)
|
||||||
|
|
||||||
if genuineSplit {
|
if genuineSplit {
|
||||||
// OmniRig's Vfo enum is RX-letter then TX-letter (AB = RX A, TX B).
|
// ADIF: FreqHz = TX, RxFreqHz = RX. Determine which VFO is RX from the
|
||||||
// ADIF: FreqHz = TX, RxFreqHz = RX.
|
// ACTIVE frequency (OmniRig's generic Freq — the VFO you're listening on):
|
||||||
|
// RX = the active VFO, TX = the other one. This is far more reliable than
|
||||||
|
// trusting OmniRig's Vfo AB/BA enum, which several rigs (e.g. Yaesu FTDX10)
|
||||||
|
// report inverted — the split then showed TX/RX swapped.
|
||||||
s.Split = true
|
s.Split = true
|
||||||
switch s.Vfo {
|
switch {
|
||||||
case "BA":
|
case freqMain != 0 && freqMain == freqA:
|
||||||
s.FreqHz, s.RxFreqHz = freqA, freqB // TX A, RX B
|
s.RxFreqHz, s.FreqHz = freqA, freqB // listening on A → TX on B
|
||||||
default: // "AB" and the usual "TX on the other VFO" case
|
case freqMain != 0 && freqMain == freqB:
|
||||||
s.FreqHz, s.RxFreqHz = freqB, freqA // TX B, RX A
|
s.RxFreqHz, s.FreqHz = freqB, freqA // listening on B → TX on A
|
||||||
|
case s.Vfo == "BA":
|
||||||
|
s.FreqHz, s.RxFreqHz = freqA, freqB // fall back to the Vfo enum
|
||||||
|
default:
|
||||||
|
s.FreqHz, s.RxFreqHz = freqB, freqA
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Simplex: the operating frequency is OmniRig's generic Freq (the active
|
// Simplex: the operating frequency is OmniRig's generic Freq (the active
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// appVersion is stamped on every heartbeat (and could feed the About box).
|
// appVersion is stamped on every heartbeat (and could feed the About box).
|
||||||
appVersion = "0.16.2"
|
appVersion = "0.16.3"
|
||||||
|
|
||||||
// posthogHost is the PostHog ingestion endpoint. EU cloud by default; change
|
// posthogHost is the PostHog ingestion endpoint. EU cloud by default; change
|
||||||
// to https://us.i.posthog.com for a US project.
|
// to https://us.i.posthog.com for a US project.
|
||||||
|
|||||||
Reference in New Issue
Block a user