Skip to content

Commit

Permalink
nimble/ble_gap: remove extraneous parentheses
Browse files Browse the repository at this point in the history
Fix build warning generated with llvm based compilers on equality comparison with extraneous parentheses.
  • Loading branch information
guy-m authored Apr 10, 2024
1 parent 66147e7 commit 533c122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/src/ble_gap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3720,7 +3720,7 @@ ble_gap_ext_adv_clear(void)
/* If there is an active instance or periodic adv instance,
* Don't send the command
* */
if ((ble_gap_slave[instance].op == BLE_GAP_OP_S_ADV)) {
if (ble_gap_slave[instance].op == BLE_GAP_OP_S_ADV) {
ble_hs_unlock();
return BLE_HS_EBUSY;
}
Expand Down

0 comments on commit 533c122

Please sign in to comment.