Selaa lähdekoodia

reenable hid.claim

Matthew Di Ferrante 8 vuotta sitten
vanhempi
commit
861032f28e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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()
 	}
 }