Skip to content

Commit 4e172ba

Browse files
committed
BLE - Fix conditional directive.
1 parent 74bc677 commit 4e172ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.tpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ void Gap<EventHandler>::gap_handler(const wsfMsgHdr_t *msg)
580580
handler->on_periodic_advertising_sync_loss(evt->syncHandle);
581581
}
582582
break;
583-
#endif BLE_FEATURE_PERIODIC_ADVERTISING
583+
#endif // BLE_FEATURE_PERIODIC_ADVERTISING
584584

585585
#if BLE_FEATURE_EXTENDED_ADVERTISING && BLE_ROLE_BROADCASTER
586586
case DM_SCAN_REQ_RCVD_IND: {
@@ -684,8 +684,8 @@ void Gap<EventHandler>::gap_handler(const wsfMsgHdr_t *msg)
684684
);
685685
}
686686
break;
687-
}
688687
#endif // BLE_ROLE_CENTRAL || BLE_ROLE_PERIPHERAL
688+
}
689689

690690
// all handlers are stored in a static array
691691
static const event_handler_t handlers[] = {

0 commit comments

Comments
 (0)