mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
modified endpoint extractor to work better with Nexus S
This commit is contained in:
parent
66d724be46
commit
c0f1a45e7a
1 changed files with 6 additions and 1 deletions
7
adk.cpp
7
adk.cpp
|
@ -273,7 +273,12 @@ void ADK::EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto
|
|||
//ErrorMessage<uint8_t>(PSTR("Conf.Val"), conf);
|
||||
//ErrorMessage<uint8_t>(PSTR("Iface Num"),iface);
|
||||
//ErrorMessage<uint8_t>(PSTR("Alt.Set"), alt);
|
||||
|
||||
|
||||
//added by Yuuichi
|
||||
if( bNumEP == 3 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
bConfNum = conf;
|
||||
|
||||
uint8_t index;
|
||||
|
|
Loading…
Reference in a new issue