Skip to content

Commit 1962ba1

Browse files
dmainzsjanc
authored andcommitted
nimble/host/src/ble_gap.c - undefined SET_BIT before defining it.
The STM32 port also has a SET_BIT.
1 parent 67f7e97 commit 1962ba1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nimble/host/src/ble_gap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#define bssnz_t
4242
#endif
4343

44+
#undef SET_BIT
4445
#define SET_BIT(t, n) (t |= 1UL << (n))
4546

4647
/**

0 commit comments

Comments
 (0)