Add init step

This commit is contained in:
Gregor Riepl 2021-02-08 14:43:19 +01:00
parent 7811800f40
commit 14ad5cad25

View file

@ -31,6 +31,8 @@ func main() {
can.Stop() can.Stop()
}() }()
go func() { go func() {
// preload the initialization message
can.Initialize()
log.Printf("Bus listener exited: %v", can.Start()) log.Printf("Bus listener exited: %v", can.Start())
wg.Done() wg.Done()
server.Stop() server.Stop()