logc.go
@@ -2,7 +2,6 @@ import ( "basic.com/valib/bhomebus.git" "encoding/json" "fmt" "sync" "time" @@ -94,7 +93,7 @@ } if msg == "" { retrun return } log := &ScheduleLog{ @@ -109,7 +108,7 @@ deliverLog(log, timeout) } func deliverLog(l LogPrinter, timeout time.Duration) { func deliverLog(l LogPrinter, timeout time.Duration) { select { case logCh <- l: return