mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Faster processors like the Teensy 3.0 needed a delay before setting the configuration to the PS3 controller
This commit is contained in:
parent
82c52542cc
commit
ac1bad4eee
1 changed files with 1 additions and 0 deletions
1
BTD.cpp
1
BTD.cpp
|
@ -167,6 +167,7 @@ uint8_t BTD::Init(uint8_t parent, uint8_t port, bool lowspeed) {
|
|||
goto FailSetDevTblEntry;
|
||||
|
||||
if (VID == PS3_VID && (PID == PS3_PID || PID == PS3NAVIGATION_PID || PID == PS3MOVE_PID)) {
|
||||
delay(100);
|
||||
rcode = pUsb->setConf(bAddress, epInfo[ BTD_CONTROL_PIPE ].epAddr, 1); // We only need the Control endpoint, so we don't have to initialize the other endpoints of device
|
||||
if (rcode)
|
||||
goto FailSetConfDescr;
|
||||
|
|
Loading…
Reference in a new issue