Only play sound on talker stop for remote talker

In the commented out example code for the talker_stop function the
implementation now only play the sound on remote talker stop, not on
local talker stop.
This commit is contained in:
Tobias Blomberg 2019-08-15 23:24:48 +02:00
parent 879c8761a8
commit 2bf06eb549
1 changed files with 2 additions and 1 deletions

View File

@ -184,8 +184,9 @@ proc talker_start {tg callsign} {
#
proc talker_stop {tg callsign} {
#variable selected_tg
#variable ::Logic::CFG_CALLSIGN
#puts "### Talker stop on TG #$tg: $callsign"
#if {$tg == $selected_tg} {
#if {($tg == $selected_tg) && ($callsign != $::Logic::CFG_CALLSIGN)} {
# playSilence 100
# playTone 440 200 50
# playTone 659 200 50