mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Increased timeout before scanning again
This commit is contained in:
parent
76020527f8
commit
0719b242af
1 changed files with 1 additions and 1 deletions
2
BTD.cpp
2
BTD.cpp
|
@ -566,7 +566,7 @@ void BTD::HCI_task() {
|
|||
|
||||
case HCI_DONE_STATE:
|
||||
hci_counter++;
|
||||
if (hci_counter > 100) { // Wait until we have looped 100 times to make sure that the L2CAP connection has been started
|
||||
if (hci_counter > 250) { // Wait until we have looped 250 times to make sure that the L2CAP connection has been started
|
||||
hci_state = HCI_SCANNING_STATE;
|
||||
l2capConnectionClaimed = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue