summaryrefslogtreecommitdiffstats
path: root/backend_sinfonia.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-11-06 14:18:49 -0500
committerSolomon Peachy <pizza@shaftnet.org>2019-11-06 14:18:49 -0500
commite92762196d3a54c02e9f1b08345bc7518e76378d (patch)
tree2386e99c71f64b271b37341d671e8406d0a8e981 /backend_sinfonia.h
parentd2d66174006f194cfeed8c31529d9ad493bb5d5d (diff)
downloadselphy_print-e92762196d3a54c02e9f1b08345bc7518e76378d.tar.gz
selphy_print-e92762196d3a54c02e9f1b08345bc7518e76378d.tar.bz2
selphy_print-e92762196d3a54c02e9f1b08345bc7518e76378d.zip
common: Pass bInterfaceNo into backend->query_serno() call
Also allow the USB iSerialNumber value to be ignored.
Diffstat (limited to 'backend_sinfonia.h')
-rw-r--r--backend_sinfonia.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_sinfonia.h b/backend_sinfonia.h
index 2726054..0a7529a 100644
--- a/backend_sinfonia.h
+++ b/backend_sinfonia.h
@@ -105,7 +105,7 @@ int sinfonia_gettonecurve(struct sinfonia_usbdev *usbh, int type, char *fname);
int sinfonia_settonecurve(struct sinfonia_usbdev *usbh, int target, char *fname);
int sinfonia_button_set(struct sinfonia_usbdev *dev, int enable);
-int sinfonia_query_serno(struct libusb_device_handle *dev, uint8_t endp_up, uint8_t endp_down, char *buf, int buf_len);
+int sinfonia_query_serno(struct libusb_device_handle *dev, uint8_t endp_up, uint8_t endp_down, int iface, char *buf, int buf_len);
int sinfonia_dumpallparams(struct sinfonia_usbdev *usbh, int known);
const char *sinfonia_paramname(struct sinfonia_usbdev *usbh, int id);