summaryrefslogtreecommitdiff
path: root/common/btle_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/btle_ll.c')
-rw-r--r--common/btle_ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/btle_ll.c b/common/btle_ll.c
index fdf27d71c6..02f6af73d0 100644
--- a/common/btle_ll.c
+++ b/common/btle_ll.c
@@ -622,7 +622,7 @@ int ble_ll_adv_event(void)
int rv;
for (chan_idx = 0; chan_idx < 3; chan_idx++) {
- if (ll_adv_params.advChannelMap & (1 << chan_idx)) {
+ if (ll_adv_params.advChannelMap & BIT(chan_idx)) {
rv = ble_ll_adv(chan_idx + 37);
if (rv != EC_SUCCESS)
return rv;