mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Move ftdi to new early enumeration
This commit is contained in:
parent
26cb553f54
commit
b53c809eaa
1 changed files with 5 additions and 0 deletions
|
@ -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__
|
||||
|
|
Loading…
Reference in a new issue