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
5
adk.cpp
5
adk.cpp
|
@ -274,6 +274,11 @@ void ADK::EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto
|
||||||
//ErrorMessage<uint8_t>(PSTR("Iface Num"),iface);
|
//ErrorMessage<uint8_t>(PSTR("Iface Num"),iface);
|
||||||
//ErrorMessage<uint8_t>(PSTR("Alt.Set"), alt);
|
//ErrorMessage<uint8_t>(PSTR("Alt.Set"), alt);
|
||||||
|
|
||||||
|
//added by Yuuichi
|
||||||
|
if( bNumEP == 3 ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bConfNum = conf;
|
bConfNum = conf;
|
||||||
|
|
||||||
uint8_t index;
|
uint8_t index;
|
||||||
|
|
Loading…
Reference in a new issue