Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gnss-share
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
gnss-share
Commits
fde2a083
Verified
Commit
fde2a083
authored
1 year ago
by
Teemu Ikonen
Committed by
Clayton Craft
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
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
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/gnss/gnss.go
+1
-0
1 addition, 0 deletions
internal/gnss/gnss.go
with
1 addition
and
0 deletions
internal/gnss/gnss.go
+
1
−
0
View file @
fde2a083
...
...
@@ -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
{})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment