diff --git a/clientcommands.go b/clientcommands.go index f39d778..d1a6e42 100644 --- a/clientcommands.go +++ b/clientcommands.go @@ -724,11 +724,13 @@ func (b *Talkkonnect) VoiceTargetUserSet(TargetID uint32, TargetUser string) { b.Client.VoiceTarget = vtarget if TargetID > 0 { log.Printf("debug: Added User %v to VT ID %v\n", TargetUser, TargetID) + b.sevenSegment("voicetarget", strconv.Itoa(int(TargetID))) GPIOOutPin("voicetarget", "on") } else { //b.VoiceTarget.Clear() GPIOOutPin("voicetarget", "off") log.Println("debug: Cleared Voice Targets") + b.sevenSegment("voicetarget", strconv.Itoa(int(TargetID))) } b.Client.Send(vtarget) } else { @@ -763,6 +765,7 @@ func (b *Talkkonnect) VoiceTargetChannelSet(targetID uint32, targetChannelName s b.Client.Send(vtarget) log.Printf("debug: Shouting to Root Channel %v to VT ID %v with recursive %v links %v group %v\n", vChannel.Name, targetID, recursive, links, group) GPIOOutPin("voicetarget", "off") + b.sevenSegment("voicetarget", strconv.Itoa(int(targetID))) return } @@ -775,6 +778,7 @@ func (b *Talkkonnect) VoiceTargetChannelSet(targetID uint32, targetChannelName s b.Client.VoiceTarget = vtarget b.Client.Send(vtarget) log.Printf("debug: Shouting to Child Channel %v to VT ID %v with recursive %v links %v group %v\n", vChannel.Name, targetID, recursive, links, group) + b.sevenSegment("voicetarget", strconv.Itoa(int(targetID))) if targetID > 0 { GPIOOutPin("voicetarget", "on") } diff --git a/version.go b/version.go index 789bda4..fc4a630 100644 --- a/version.go +++ b/version.go @@ -31,7 +31,7 @@ package talkkonnect const ( - talkkonnectVersion string = "2.10.11" + talkkonnectVersion string = "2.10.12" talkkonnectReleased string = "Feb 14 2022" )