Browse Source

reenable hid.claim

Matthew Di Ferrante 8 năm trước cách đây
mục cha
commit
861032f28e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      usb_linux.go

+ 1 - 1
usb_linux.go

@@ -43,7 +43,7 @@ func (hid *usbDevice) Open() (err error) {
 	if hid.f, err = os.OpenFile(hid.path, os.O_RDWR, 0644); err != nil {
 		return
 	} else {
-		return nil //hid.claim()
+		return hid.claim()
 	}
 }