aboutsummaryrefslogtreecommitdiff
path: root/host/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/usb.h')
-rw-r--r--host/usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/usb.h b/host/usb.h
index fee3487..6e6aa8e 100644
--- a/host/usb.h
+++ b/host/usb.h
@@ -16,12 +16,12 @@
typedef struct {
libusb_device_handle *handle;
- char *serial;
+ char *serial;
} matelight_handle;
int matelight_usb_init(void);
void matelight_usb_destroy(void);
-matelight_handle *matelight_open(void);
+matelight_handle *matelight_open(char *match_serial);
int matelight_send_frame(matelight_handle *ml, void *buf, size_t w, size_t h, float brightness, int alpha);
#endif//__USB_H__