From b53c809eaadcfef9504fcc4df86c0a1704e41b27 Mon Sep 17 00:00:00 2001 From: "Andrew J. Kroll" Date: Mon, 4 Aug 2014 06:13:07 -0400 Subject: [PATCH] Move ftdi to new early enumeration --- cdcftdi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cdcftdi.h b/cdcftdi.h index 866e2d7d..692ec6b0 100644 --- a/cdcftdi.h +++ b/cdcftdi.h @@ -128,6 +128,11 @@ public: // UsbConfigXtracter implementation virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep); + + virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid) { + return (vid == FTDI_VID && pid == FTDI_PID); + } + }; #endif // __CDCFTDI_H__