Skip to content

Commit bb28fc0

Browse files
authored
Merge pull request #1021 from pennam/ble-loop-patch
patches: remove blocking loop from BLE error handling
2 parents eb49d29 + 753cb2d commit bb28fc0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From f5b74a5ac71cd1e01ad713ffdbb3f6601604816c Mon Sep 17 00:00:00 2001
2+
From: fabik111 <fabiomassimo.centonze@gmail.com>
3+
Date: Tue, 29 Oct 2024 15:20:53 +0100
4+
Subject: [PATCH] BLE: remove blocking loop for error handling
5+
6+
---
7+
.../drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp b/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp
11+
index ff389c9f81..6a2d51eca5 100644
12+
--- a/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp
13+
+++ b/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp
14+
@@ -408,7 +408,7 @@ private:
15+
if (cmd_opcode != opcode) {
16+
// DO something in case of error
17+
18+
- while (true);
19+
+ return;
20+
21+
}
22+
23+
--
24+
2.51.0
25+

0 commit comments

Comments
 (0)