diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-03-01 09:56:34 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-03-01 09:56:34 +0100 |
commit | ce2df0909161eee14f8a9146b5c0b20fe09058f3 (patch) | |
tree | d30577897037b0f4197e24b80ff04670713f1951 /libk8055/k8055.h | |
parent | 1a663cd2b28b8558f92d99078ec0daed288c87be (diff) | |
download | k8055-ce2df0909161eee14f8a9146b5c0b20fe09058f3.zip k8055-ce2df0909161eee14f8a9146b5c0b20fe09058f3.tar.gz |
update C API long* => int* ...
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r-- | libk8055/k8055.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h index f180831..37a70af 100644 --- a/libk8055/k8055.h +++ b/libk8055/k8055.h @@ -47,7 +47,7 @@ extern "C" { int k8055_set_all_analog( struct k8055_dev* dev ); int k8055_clear_all_analog( struct k8055_dev* dev ); - int k8055_read_all_analog( struct k8055_dev* dev, long* data1, long* data2 ); + int k8055_read_all_analog( struct k8055_dev* dev, int* data1, int* data2 ); int k8055_write_all_analog( struct k8055_dev* dev, int data1, int data2 ); int k8055_set_digital_channel( struct k8055_dev* dev, int channel ); @@ -60,7 +60,7 @@ extern "C" { int k8055_write_all_digital( struct k8055_dev* dev, int data ); int k8055_set_all_values( struct k8055_dev* dev, int digital_data, int ad_data1, int ad_data2 ); - int k8055_read_all_values( struct k8055_dev* dev, long int* data1, long int* data2, long int* data3, long int* data4, long int* data5 ); + int k8055_read_all_values( struct k8055_dev* dev, int* data1, int* data2, int* data3, int* data4, int* data5 ); int k8055_reset_counter( struct k8055_dev* dev, int counter ); int k8055_read_counter( struct k8055_dev* dev, int counter ); |