aboutsummaryrefslogtreecommitdiff
path: root/device_openbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'device_openbsd.go')
-rw-r--r--device_openbsd.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/device_openbsd.go b/device_openbsd.go
new file mode 100644
index 0000000..fb54648
--- /dev/null
+++ b/device_openbsd.go
@@ -0,0 +1,11 @@
+package robo
+
+import "log"
+
+func NewDevice() Device {
+ dev, err := NewLP("/dev/ulpt0")
+ if err != nil {
+ log.Fatal(err)
+ }
+ return dev
+}