aboutsummaryrefslogtreecommitdiff
path: root/lowlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'lowlevel.h')
-rw-r--r--lowlevel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lowlevel.h b/lowlevel.h
index 21a728a..15ddc8c 100644
--- a/lowlevel.h
+++ b/lowlevel.h
@@ -22,8 +22,6 @@
#ifndef __LOWLEVEL_H__
#define __LOWLEVEL_H__
-#include <usb.h>
-
#include "error.h"
struct nxt_t;
@@ -39,8 +37,8 @@ typedef enum
nxt_error_t nxt_init(nxt_t **nxt);
nxt_error_t nxt_find(nxt_t *nxt);
-nxt_error_t nxt_open(nxt_t *nxt, int interface);
-nxt_error_t nxt_close(nxt_t *nxt);
+nxt_error_t nxt_open(nxt_t *nxt);
+void nxt_close(nxt_t *nxt);
int nxt_is_firmware(nxt_t *nxt, nxt_firmware fw);
nxt_error_t nxt_send_buf(nxt_t *nxt, char *buf, int len);
nxt_error_t nxt_send_str(nxt_t *nxt, char *str);