added mutex to writer
This commit is contained in:
@@ -320,7 +320,7 @@ func (fc *FlexClient) Write(data string) (n int, err error) {
|
||||
|
||||
func DiscoverFlexRadio() (bool, *Discovery) {
|
||||
if Cfg.Flex.Discover {
|
||||
Log.Infoln("FlexRadio Discovery is turned on...searching for radio on the network")
|
||||
Log.Debugln("FlexRadio Discovery is turned on...searching for radio on the network")
|
||||
|
||||
pc, err := net.ListenPacket("udp", ":4992")
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user