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()
|
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()
|
||||||
|
|
Loading…
Reference in a new issue