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__