summaryrefslogtreecommitdiffstats
path: root/libk8055/k8055.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-03-01 07:16:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-03-01 07:16:30 +0100
commit98e534e051713392fffe7ce59cbfb4188fba0f2a (patch)
tree656a1964257b8fc66fb514325ceb19a6bc45e911 /libk8055/k8055.h
parent04c2bbda09f89ed2301c81ba25f92d587f2d0fdb (diff)
downloadk8055-98e534e051713392fffe7ce59cbfb4188fba0f2a.zip
k8055-98e534e051713392fffe7ce59cbfb4188fba0f2a.tar.gz
add set_debug_(on|off), board_address becomes an integer
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r--libk8055/k8055.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h
index d1d4f9e..1142114 100644
--- a/libk8055/k8055.h
+++ b/libk8055/k8055.h
@@ -33,8 +33,10 @@ extern "C" {
};
char* version( void );
+ void set_debug_on( void );
+ void set_debug_off( void );
long search_devices( void );
- int open_device( struct k8055_dev* dev, long board_address );
+ int open_device( struct k8055_dev* dev, int board_address );
int close_device( struct k8055_dev* dev );
long read_analog_channel( struct k8055_dev* dev, long channel );
int read_all_analog( struct k8055_dev* dev, long* data1, long* data2 );