mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Remove diagnostic and add note about FTDI and the host
This commit is contained in:
parent
84b186152b
commit
a461ff2035
1 changed files with 5 additions and 5 deletions
10
cdcftdi.cpp
10
cdcftdi.cpp
|
@ -142,13 +142,13 @@ uint8_t FTDI::Init(uint8_t parent, uint8_t port, bool lowspeed) {
|
|||
USBTRACE2("NC:", num_of_conf);
|
||||
|
||||
for(uint8_t i = 0; i < num_of_conf; i++) {
|
||||
HexDumper<USBReadParser, uint16_t, uint16_t> HexDump;
|
||||
ConfigDescParser < 0xFF, 0xFF, 0xFF, CP_MASK_COMPARE_ALL> confDescrParser(this);
|
||||
|
||||
rcode = pUsb->getConfDescr(bAddress, 0, i, &HexDump);
|
||||
|
||||
if(rcode)
|
||||
goto FailGetConfDescr;
|
||||
// This interferes with serial output, and should be opt-in for debugging.
|
||||
//HexDumper<USBReadParser, uint16_t, uint16_t> HexDump;
|
||||
//rcode = pUsb->getConfDescr(bAddress, 0, i, &HexDump);
|
||||
//if(rcode)
|
||||
// goto FailGetConfDescr;
|
||||
|
||||
rcode = pUsb->getConfDescr(bAddress, 0, i, &confDescrParser);
|
||||
|
||||
|
|
Loading…
Reference in a new issue