update working
This commit is contained in:
13
flexradio.go
13
flexradio.go
@@ -286,11 +286,14 @@ func (fc *FlexClient) ReadLine() {
|
||||
Log.Errorf("could not find spot by flex spot number in database: %s", err)
|
||||
}
|
||||
|
||||
msg := fmt.Sprintf(`To ALL de %s <%s> : Clicked on "%s" at %s`, Cfg.General.Callsign, spot.UTCTime, spot.DX, spot.FrequencyHz)
|
||||
if len(fc.TCPServer.Clients) > 0 {
|
||||
fc.MsgChan <- msg
|
||||
Log.Infof("%s clicked on spot \"%s\" at %s", Cfg.General.Callsign, spot.DX, spot.FrequencyMhz)
|
||||
}
|
||||
// Sending the callsign to Log4OM
|
||||
SendUDPMessage("<CALLSIGN>" + spot.DX)
|
||||
|
||||
// msg := fmt.Sprintf(`To ALL de %s <%s> : Clicked on "%s" at %s`, Cfg.General.Callsign, spot.UTCTime, spot.DX, spot.FrequencyHz)
|
||||
// if len(fc.TCPServer.Clients) > 0 {
|
||||
// fc.MsgChan <- msg
|
||||
// Log.Infof("%s clicked on spot \"%s\" at %s", Cfg.General.Callsign, spot.DX, spot.FrequencyMhz)
|
||||
// }
|
||||
}
|
||||
|
||||
// Status when a spot is deleted
|
||||
|
Reference in New Issue
Block a user