Skip to content

Commit f5b74a5

Browse files
fabik111pennam
authored andcommitted
BLE: remove blocking loop for error handling
1 parent c841416 commit f5b74a5

File tree

1 file changed

+1
-1
lines changed
  • connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX

1 file changed

+1
-1
lines changed

connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ class HCIDriver : public CordioHCIDriver {
408408
if (cmd_opcode != opcode) {
409409
// DO something in case of error
410410

411-
while (true);
411+
return;
412412

413413
}
414414

0 commit comments

Comments
 (0)