protocol/aprs: extract position and symbol to frame
Some checks failed
Run tests / test (1.25) (push) Failing after 1m36s
Run tests / test (stable) (push) Failing after 1m36s

This commit is contained in:
2026-03-02 22:33:15 +01:00
parent 63040a44b3
commit d4a693365d
3 changed files with 33 additions and 12 deletions

View File

@@ -100,6 +100,11 @@ func (d positionDecoder) Decode(frame *Frame) (data Data, err error) {
return
}
frame.Latitude = pos.Latitude
frame.Longitude = pos.Longitude
frame.Altitude = pos.Altitude
frame.Symbol = pos.Symbol
return pos, nil
}