Skip to content

Commit 30cf041

Browse files
committed
remove loop for error handling
1 parent 4292f8b commit 30cf041

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

+1-1
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)