From f63091e41350efcea78d61957a2b428241784bce Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 11 Mar 2017 20:47:32 +0000 Subject: [PATCH] Add DFU quirk for OpenPICC --- libdfu/dfu-device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libdfu/dfu-device.c b/libdfu/dfu-device.c index 55bb8b348..320c6a173 100644 --- a/libdfu/dfu-device.c +++ b/libdfu/dfu-device.c @@ -644,6 +644,10 @@ dfu_device_set_quirks (DfuDevice *device) if (vid == 0x16c0 && pid == 0x0762) priv->quirks |= DFU_DEVICE_QUIRK_IGNORE_POLLTIMEOUT; + /* OpenPICC */ + if (vid == 0x16c0 && pid == 0x076c) + priv->quirks |= DFU_DEVICE_QUIRK_IGNORE_POLLTIMEOUT; + /* Siemens AG, PXM 40 & PXM 50 */ if (vid == 0x0908 && (pid == 0x02c4 || pid == 0x02c5) && release == 0x0) priv->quirks |= DFU_DEVICE_QUIRK_IGNORE_POLLTIMEOUT;