mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Break for loop if HID device is found
This commit is contained in:
parent
4a44c8f039
commit
b82835c877
1 changed files with 1 additions and 0 deletions
1
BTD.cpp
1
BTD.cpp
|
@ -464,6 +464,7 @@ void BTD::HCI_event_task() {
|
|||
disc_bdaddr[j] = hcibuf[j + 3 + 6 * i];
|
||||
|
||||
hci_set_flag(HCI_FLAG_DEVICE_FOUND);
|
||||
break;
|
||||
}
|
||||
#ifdef EXTRADEBUG
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue