feat: qrz clickable in cw decoder
This commit is contained in:
@@ -339,7 +339,10 @@ func (f *Flex) handleStatus(payload string) {
|
||||
// Transmit object — RF/tune power, VOX, speech processor, monitor, mic,
|
||||
// tune carrier. Field names per the SmartSDR API (logged so the exact set
|
||||
// is auditable against a real radio).
|
||||
if len(fields) >= 1 && fields[0] == "transmit" {
|
||||
// "transmit band <N> band_name=… rfpower=…" lines are PER-BAND power
|
||||
// presets, not the current TX state — ignore them, otherwise the last
|
||||
// band's rfpower (e.g. 630m=100) clobbers the real current value.
|
||||
if len(fields) >= 1 && fields[0] == "transmit" && !(len(fields) >= 2 && fields[1] == "band") {
|
||||
if !f.txRawLogged {
|
||||
f.txRawLogged = true
|
||||
debugLog.Printf("Flex: FIRST transmit status: %s", payload)
|
||||
|
||||
Reference in New Issue
Block a user