Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
gqgmc
Commits
ed1aaa1f
Commit
ed1aaa1f
authored
Feb 01, 2017
by
Kevin Lyda
💬
Browse files
Work on GetConfiguration.
parent
1d1e8558
Pipeline
#1231
passed with stage
in 56 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
devices/geiger/gqgmc.go
View file @
ed1aaa1f
...
...
@@ -451,7 +451,7 @@ func (gc *GQGMCCounter) readCmd(length uint32) ([]byte, error) {
return
nil
,
err
}
if
uint32
(
n
)
!=
length
{
return
nil
,
errors
.
New
(
"Short read
"
)
return
nil
,
fmt
.
Errorf
(
"Short read
(got: %d, wanted: %d)"
,
uint32
(
n
),
length
)
}
return
buf
,
nil
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment