Skip to content

Commit de03239

Browse files
committed
[Bugfix] Max connections not being applied properly above 4.
1 parent d23def9 commit de03239

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/nimconfig.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,11 @@
231231
#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 3
232232
#endif
233233

234+
// bugfix: max connections macro renamed upstream
235+
#ifndef CONFIG_NIMBLE_MAX_CONNECTIONS
236+
#define CONFIG_NIMBLE_MAX_CONNECTIONS CONFIG_BT_NIMBLE_MAX_CONNECTIONS
237+
#endif
238+
234239
#ifndef CONFIG_BT_NIMBLE_MAX_BONDS
235240
#define CONFIG_BT_NIMBLE_MAX_BONDS 3
236241
#endif

0 commit comments

Comments
 (0)