summaryrefslogtreecommitdiffstats
path: root/backend_mitsu9550.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-11-02 09:12:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-11-02 09:12:30 -0400
commit6032e88b01faf283a94f64adc54e4839d3badfaa (patch)
tree650a6a472b9914c0a9cbc8fd1cf8cca0e3ba4a80 /backend_mitsu9550.c
parent78dd9afbfda0e66c23c4e45331097c48313bf817 (diff)
downloadselphy_print-6032e88b01faf283a94f64adc54e4839d3badfaa.tar.gz
selphy_print-6032e88b01faf283a94f64adc54e4839d3badfaa.tar.bz2
selphy_print-6032e88b01faf283a94f64adc54e4839d3badfaa.zip
all: Pass the USB bInterfaceNum into the backend attach() function.
Diffstat (limited to 'backend_mitsu9550.c')
-rw-r--r--backend_mitsu9550.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index 331b93c..e178167 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -424,12 +424,13 @@ static void *mitsu9550_init(void)
}
static int mitsu9550_attach(void *vctx, struct libusb_device_handle *dev, int type,
- uint8_t endp_up, uint8_t endp_down, uint8_t jobid)
+ uint8_t endp_up, uint8_t endp_down, int iface, uint8_t jobid)
{
struct mitsu9550_ctx *ctx = vctx;
struct mitsu9550_media media;
UNUSED(jobid);
+ UNUSED(iface);
ctx->dev = dev;
ctx->endp_up = endp_up;