Skip to content

Commit 2cb849f

Browse files
authored
Merge pull request #3 from dtbartle/master
Call `hid_close`, not `close`.
2 parents 8e6f175 + 033cb19 commit 2cb849f

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)