summaryrefslogtreecommitdiffstats
path: root/libk8055/k8055.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-16 00:21:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-16 00:21:14 +0100
commit83edf14e431b14240146e89d0b9e692f0b39c48f (patch)
tree104f81704021afc729e40c327f09f55a6d27a1b3 /libk8055/k8055.h
parenta7ebf91a9a2c583ba743d77035af8aed292d0f1d (diff)
downloadk8055-83edf14e431b14240146e89d0b9e692f0b39c48f.zip
k8055-83edf14e431b14240146e89d0b9e692f0b39c48f.tar.gz
set per device debug status
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r--libk8055/k8055.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h
index dfb1203..085cd2a 100644
--- a/libk8055/k8055.h
+++ b/libk8055/k8055.h
@@ -37,6 +37,7 @@ extern "C" {
struct k8055_dev {
int dev_no;
+ int debug_level;
struct libusb_context *usb_ctx;
struct libusb_device_handle *usb_handle;
unsigned char data_in[PACKET_LEN+1];
@@ -70,12 +71,12 @@ extern "C" {
int k8055_counter_2( struct k8055_dev* dev );
char* k8055_version( void );
- int k8055_set_debug( int status );
- int k8055_get_debug( void );
- int k8055_search_devices( void );
+ int k8055_search_devices( int verbose );
int k8055_open_device( struct k8055_dev* dev, int board_address );
int k8055_close_device( struct k8055_dev* dev );
+ int k8055_set_debug( struct k8055_dev* dev, int level );
+ int k8055_get_debug( struct k8055_dev* dev );
/* analog outputs */
int k8055_set_analog_channel( struct k8055_dev* dev, int channel );