added mutex to writer

This commit is contained in:
2025-09-07 20:49:29 +02:00
parent a7716a65c7
commit c6a765f286
4 changed files with 24 additions and 12 deletions

View File

@@ -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 {