Skip to content

Commit 033cb19

Browse files
committed
Call hid_close, not close.
1 parent 8e6f175 commit 033cb19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/hid_api/device.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def self.from_native(value, ctx)
1010
end
1111

1212
def close
13-
HidApi.close(self)
13+
HidApi.hid_close(self)
1414
end
1515

1616
def set_nonblocking(int)
@@ -92,4 +92,4 @@ def with_hid_error_handling
9292
end
9393
end
9494
end
95-
end
95+
end

0 commit comments

Comments
 (0)