aboutsummaryrefslogtreecommitdiff
path: root/dev_openbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'dev_openbsd.go')
-rw-r--r--dev_openbsd.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev_openbsd.go b/dev_openbsd.go
index 46eaa94..1fe065a 100644
--- a/dev_openbsd.go
+++ b/dev_openbsd.go
@@ -1,6 +1,8 @@
package robo
+const LPDevice = "/dev/ulpt0"
+
func Open() (Device, error) {
// note: ulpt* doesn't support read(), thus this dev is broken atm.
- return NewLP("/dev/ulpt0")
+ return NewLP(LPDevice)
}