Break for loop if HID device is found

This commit is contained in:
Kristian Lauszus 2014-07-01 13:22:44 +02:00
parent 4a44c8f039
commit b82835c877

View file

@ -464,6 +464,7 @@ void BTD::HCI_event_task() {
disc_bdaddr[j] = hcibuf[j + 3 + 6 * i]; disc_bdaddr[j] = hcibuf[j + 3 + 6 * i];
hci_set_flag(HCI_FLAG_DEVICE_FOUND); hci_set_flag(HCI_FLAG_DEVICE_FOUND);
break;
} }
#ifdef EXTRADEBUG #ifdef EXTRADEBUG
else { else {