Skip to content
Snippets Groups Projects
Verified Commit fde2a083 authored by Teemu Ikonen's avatar Teemu Ikonen Committed by Clayton Craft
Browse files

gnss: Print a message on starting device (MR 14)

parent 1884a8de
No related branches found
No related tags found
No related merge requests found
Pipeline #142672 passed
......@@ -91,6 +91,7 @@ func (g *Gnss) Subscribe() (*pubsub.Subscription, error) {
// Start the driver if this is the first subscription
if g.bus.Subscribers(g.dataTopic) == 1 {
fmt.Println("Starting device")
g.mu.Lock()
defer g.mu.Unlock()
g.driverStop = make(chan struct{})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment