summaryrefslogtreecommitdiffstats
path: root/src/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usb.c')
-rw-r--r--src/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usb.c b/src/usb.c
index abc4a2b..9c30055 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -381,7 +381,8 @@ static int usb_device_add(libusb_device* dev)
if(devdesc.idVendor != VID_APPLE)
return -1;
if((devdesc.idProduct != PID_APPLE_T2_COPROCESSOR) &&
- ((devdesc.idProduct < PID_RANGE_LOW) ||
+ (devdesc.idProduct != PID_APPLE_SILICON_RESTORE) &&
+ ((devdesc.idProduct < PID_RANGE_LOW) ||
(devdesc.idProduct > PID_RANGE_MAX)))
return -1;
libusb_device_handle *handle;