homebrew: use ID in stead of (redundant) RepeaterID

pull/1/head
Wijnand Modderman-Lenstra 9 years ago
parent 63f4d4c602
commit 493e72583d

@ -18,7 +18,7 @@ import (
) )
var ( var (
Version = "20151208" Version = "20151214"
SoftwareID = fmt.Sprintf("%s:go-dmr:%s", runtime.GOOS, Version) SoftwareID = fmt.Sprintf("%s:go-dmr:%s", runtime.GOOS, Version)
PackageID = fmt.Sprintf("%s:go-dmr:%s-%s", runtime.GOOS, Version, runtime.GOARCH) PackageID = fmt.Sprintf("%s:go-dmr:%s-%s", runtime.GOOS, Version, runtime.GOARCH)
) )
@ -28,7 +28,7 @@ var (
// information about the current repeater status. // information about the current repeater status.
type RepeaterConfiguration struct { type RepeaterConfiguration struct {
Callsign string Callsign string
RepeaterID uint32 ID uint32 // Our RepeaterID
RXFreq uint32 RXFreq uint32
TXFreq uint32 TXFreq uint32
TXPower uint8 TXPower uint8
@ -69,7 +69,7 @@ func (r *RepeaterConfiguration) String() string {
var b = "RPTC" var b = "RPTC"
b += fmt.Sprintf("%-8s", r.Callsign) b += fmt.Sprintf("%-8s", r.Callsign)
b += fmt.Sprintf("%08x", r.RepeaterID) b += fmt.Sprintf("%08x", r.ID)
b += fmt.Sprintf("%09d", r.RXFreq) b += fmt.Sprintf("%09d", r.RXFreq)
b += fmt.Sprintf("%09d", r.TXFreq) b += fmt.Sprintf("%09d", r.TXFreq)
b += fmt.Sprintf("%02d", r.TXPower) b += fmt.Sprintf("%02d", r.TXPower)

Loading…
Cancel
Save