From 3ab07ffb4cd9740524ca75149dd0e9c408e526d3 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 7 Sep 2017 11:28:20 +0100 Subject: [PATCH] trivial: Properly detach the ColorHug test DFU device --- libdfu/dfu-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdfu/dfu-device.c b/libdfu/dfu-device.c index d11b630bd..864d1509c 100644 --- a/libdfu/dfu-device.c +++ b/libdfu/dfu-device.c @@ -665,7 +665,7 @@ dfu_device_set_quirks (DfuDevice *device) priv->quirks |= DFU_DEVICE_QUIRK_IGNORE_INVALID_VERSION; /* m-stack DFU implementation */ - if (vid == 0x273f && pid == 0x1003) + if (vid == 0x273f && (pid == 0x1003 || pid == 0x100a)) priv->quirks |= DFU_DEVICE_QUIRK_ATTACH_UPLOAD_DOWNLOAD; /* HydraBus */