From b82835c877adecf507312b742dd687e2ea03628f Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Tue, 1 Jul 2014 13:22:44 +0200 Subject: [PATCH] Break for loop if HID device is found --- BTD.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/BTD.cpp b/BTD.cpp index 2506cdf1..de83da95 100755 --- a/BTD.cpp +++ b/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 {