aboutsummaryrefslogtreecommitdiff
path: root/host/usb.h
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2016-01-02 00:48:14 +0100
committerjaseg <code@jaseg.net>2016-01-02 01:29:02 +0100
commitfefb33736af4afddf539a1eff6d2d5d257d57f36 (patch)
tree57cc374251cc54a6c3c06fc6ac654effb6eb9e22 /host/usb.h
parent330e1eb20ec751256ea1cee7a6b100e1cb2d3a72 (diff)
downloadmatelight-fefb33736af4afddf539a1eff6d2d5d257d57f36.tar.gz
matelight-fefb33736af4afddf539a1eff6d2d5d257d57f36.tar.bz2
matelight-fefb33736af4afddf539a1eff6d2d5d257d57f36.zip
Host: Made rendering pipeline a bit more flexible
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__