Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gqgmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
gqgmc
Commits
b191819f
Commit
b191819f
authored
8 years ago
by
Kevin Lyda
Browse files
Options
Downloads
Patches
Plain Diff
Remove error constants.
parent
c1cdc990
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
devices/geiger/gqgmc.go
+0
-25
0 additions, 25 deletions
devices/geiger/gqgmc.go
with
0 additions
and
25 deletions
devices/geiger/gqgmc.go
+
0
−
25
View file @
b191819f
...
...
@@ -116,31 +116,6 @@ const (
cmdTurnOffPwr
=
"<POWEROFF>>"
)
const
(
errOpen
=
"Failed to open USB port"
errFirmware
=
"GQ GMC has older firmware. Some commands may not work."
errVersion
=
"Failed to read the version number of the firmware"
errSerialNumber
=
"Failed to read the serial number "
errCPM
=
"Failed to read the counts per minute "
errCPS
=
"Failed to read the counts per second "
errAutoCPS
=
"Failed to read auto counts per second "
errCFG
=
"Failed to get configuration data "
errEraseCFG
=
"Failed to erase configuration data "
errUpdateCFG
=
"Failed to update configuration data "
errClear
=
"Failed to clear USB input buffer. You should power cycle GQ GMC."
errBatteryVoltage
=
"Failed to read the battery voltage "
errHistoryData
=
"Failed to read the history data "
errHistoryDataLengthFmt
=
"Requested data length of the history command cannot exceed %d bytes"
errHistoryDataAddressFmt
=
"Address of the history command cannot exceed %d bytes"
errHistoryDataOverrunFmt
=
"History data length added to the address cannot exceed %d bytes"
errYear
=
"Failed to set year"
errMonth
=
"Failed to set month"
errDay
=
"Failed to set day"
errHour
=
"Failed to set hour"
errMinute
=
"Failed to set minute"
errSecond
=
"Failed to set second"
)
// GQGMCCounter is a GQ GMC Counter
type
GQGMCCounter
struct
{
port
*
serial
.
Port
...
...
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