Add init step
This commit is contained in:
parent
7811800f40
commit
14ad5cad25
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ func main() {
|
|||
can.Stop()
|
||||
}()
|
||||
go func() {
|
||||
// preload the initialization message
|
||||
can.Initialize()
|
||||
log.Printf("Bus listener exited: %v", can.Start())
|
||||
wg.Done()
|
||||
server.Stop()
|
||||
|
|
Loading…
Reference in a new issue