bug
This commit is contained in:
@@ -339,6 +339,15 @@ func recordToQSO(rec Record) (qso.QSO, bool) {
|
||||
if hz, ok := parseFreqHz(rec["freq_rx"]); ok {
|
||||
q.FreqRXHz = &hz
|
||||
}
|
||||
// RX defaults to TX when the ADIF omits split info: an empty BAND_RX /
|
||||
// FREQ_RX means the contact wasn't cross-band/split, so RX = TX.
|
||||
if q.BandRX == "" {
|
||||
q.BandRX = q.Band
|
||||
}
|
||||
if q.FreqRXHz == nil && q.FreqHz != nil {
|
||||
v := *q.FreqHz
|
||||
q.FreqRXHz = &v
|
||||
}
|
||||
|
||||
q.RSTSent = rec["rst_sent"]
|
||||
q.RSTRcvd = rec["rst_rcvd"]
|
||||
|
||||
Reference in New Issue
Block a user