mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-02-03 22:34:15 +01:00
Only display SWR if transmitting
This commit is contained in:
parent
3218a51587
commit
334acdc955
|
|
@ -400,7 +400,7 @@ func (s *statusLogStruct) update() {
|
|||
txPowerStr = " txpwr " + s.data.txPower
|
||||
}
|
||||
var swrStr string
|
||||
if s.data.swr != "" {
|
||||
if (s.data.tune || s.data.ptt) && s.data.swr != "" {
|
||||
swrStr = " SWR" + s.data.swr
|
||||
}
|
||||
s.data.line2 = fmt.Sprint(stateStr, " ", fmt.Sprintf("%.6f", float64(s.data.frequency)/1000000),
|
||||
|
|
|
|||
Loading…
Reference in a new issue