mirror of
https://github.com/nonoo/kappanhang.git
synced 2025-12-06 08:02:00 +01:00
Shorten status line
This commit is contained in:
parent
7b384decc9
commit
10d1046e80
|
|
@ -86,10 +86,13 @@ is up) with the following info:
|
|||
|
||||
- First status bar line:
|
||||
- `state`: RX/TX/TUNE depending on the PTT status
|
||||
- `freq`: operating frequency in MHz, mode (LSB/USB/FM...), active filter,
|
||||
preamp (PAMP0 means the preamp is off), Vd voltage
|
||||
- `freq`: operating frequency in MHz
|
||||
- `mode`: LSB/USB/FM etc.
|
||||
- `filter`: active filter (FIL1, FIL2 etc.)
|
||||
- `preamp`: PAMP0 means the preamp is off
|
||||
- `voltage`: Vd voltage
|
||||
- `txpwr`: current transmit power setting in percent
|
||||
- `audiomon`: current status of the audio monitor (see the *Hotkeys* section
|
||||
- `audio`: current status of the audio monitor (see the *Hotkeys* section
|
||||
in this README for more information about this feature)
|
||||
|
||||
- Second status bar line:
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ func (s *statusLogStruct) update() {
|
|||
if s.data.txPowerStr != "" {
|
||||
txPowerStr = " txpwr " + s.data.txPowerStr
|
||||
}
|
||||
s.data.line1 = fmt.Sprint("state ", s.data.stateStr, " freq: ", fmt.Sprintf("%.6f", float64(s.data.frequency)/1000000),
|
||||
s.data.line1 = fmt.Sprint(s.data.stateStr, " ", fmt.Sprintf("%.6f", float64(s.data.frequency)/1000000),
|
||||
modeStr, filterStr, preampStr, vdStr, txPowerStr, " audio ", s.data.audioStateStr)
|
||||
|
||||
up, down, lost, retransmits := netstat.get()
|
||||
|
|
|
|||
Loading…
Reference in a new issue