Skip to content

Commit e31ba39

Browse files
committed
Fix build with nRF52833 when advertising extensions are enabled.
1 parent 1a47c85 commit e31ba39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cores/nRF5/nimble_config/ext_nimble_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@
1414

1515
#ifndef min
1616
#define min(a, b) ((a)<(b)?(a):(b))
17+
#endif
18+
19+
#ifndef max
20+
#define max(a, b) ((a)>(b)?(a):(b))
1721
#endif

0 commit comments

Comments
 (0)