mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Ignore if the incoming device is not supported
This commit is contained in:
parent
b2d6e4313f
commit
6dc2b6e09d
1 changed files with 2 additions and 4 deletions
6
BTD.cpp
6
BTD.cpp
|
@ -565,10 +565,8 @@ void BTD::HCI_task() {
|
|||
break;
|
||||
|
||||
case HCI_DONE_STATE:
|
||||
if(connectionClaimed) { // Wait until one of the services has claimed the connection before accepting more incoming requests
|
||||
hci_state = HCI_SCANNING_STATE;
|
||||
connectionClaimed = false;
|
||||
}
|
||||
hci_state = HCI_SCANNING_STATE;
|
||||
connectionClaimed = false;
|
||||
break;
|
||||
|
||||
case HCI_DISCONNECT_STATE:
|
||||
|
|
Loading…
Reference in a new issue