Skip to content

Commit

Permalink
fix CENTRAL_LINK_COUNT default for SDK15
Browse files Browse the repository at this point in the history
there is no nrf51 for SDK15 so it makes sense to have CENTRAL_LINK_COUNT default to be 1
  • Loading branch information
fanoush authored Oct 28, 2023
1 parent 62acf92 commit 94d6732
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions targets/nrf5x/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,11 @@
// For SDK 15.3.0
#define FDS_VIRTUAL_PAGES_RESERVED 0


#ifndef PERIPHERAL_LINK_COUNT
#define PERIPHERAL_LINK_COUNT 1
#endif
#ifndef CENTRAL_LINK_COUNT
#if PEER_MANAGER_ENABLED // if no peer manager, no central
#define CENTRAL_LINK_COUNT 1
#else
#define CENTRAL_LINK_COUNT 0
#endif
#endif
// SDK15+ (fixes BLE UART send when CENTRAL_LINK_COUNT>1)
#define NRF_SDH_BLE_TOTAL_LINK_COUNT (CENTRAL_LINK_COUNT + PERIPHERAL_LINK_COUNT)
Expand Down

0 comments on commit 94d6732

Please sign in to comment.