summaryrefslogtreecommitdiffstats
path: root/ruby/ffi-k8055/lib/k8055.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-16 00:55:41 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-16 00:55:41 +0100
commit0aebc2c00092a1c637830732d5c027d7309be071 (patch)
tree6cf71eeaeb8907021dfbdf17b640c2bf8e8e3386 /ruby/ffi-k8055/lib/k8055.rb
parentbaa5b43c305212e04404177e82a9eae72bc702f4 (diff)
downloadk8055-0aebc2c00092a1c637830732d5c027d7309be071.zip
k8055-0aebc2c00092a1c637830732d5c027d7309be071.tar.gz
ruby: follow k8055_search_devices and k8055_get_debug API changes
Diffstat (limited to 'ruby/ffi-k8055/lib/k8055.rb')
-rw-r--r--ruby/ffi-k8055/lib/k8055.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/ffi-k8055/lib/k8055.rb b/ruby/ffi-k8055/lib/k8055.rb
index 012b0ac..ba35f88 100644
--- a/ruby/ffi-k8055/lib/k8055.rb
+++ b/ruby/ffi-k8055/lib/k8055.rb
@@ -43,9 +43,9 @@ module K8055
[ :k8055_counter_1, [:k8055_dev], :int],
[ :k8055_counter_2, [:k8055_dev], :int],
[ :k8055_version, [], :string],
- [ :k8055_set_debug, [:int], :int],
+ [ :k8055_set_debug, [:k8055_dev, :int], :int],
[ :k8055_get_debug, [], :int],
- [ :k8055_search_devices, [], :int],
+ [ :k8055_search_devices, [:int], :int],
[ :k8055_open_device, [:k8055_dev,:int], :int],
[ :k8055_close_device, [:k8055_dev], :int],
[ :k8055_set_analog_channel, [:k8055_dev,:int], :int],