Skip to content

Commit

Permalink
nimble/host/src/ble_gap.c - undefined SET_BIT before defining it.
Browse files Browse the repository at this point in the history
The STM32 port also has a SET_BIT.
  • Loading branch information
dmainz authored and sjanc committed Sep 18, 2024
1 parent 67f7e97 commit 1962ba1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nimble/host/src/ble_gap.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#define bssnz_t
#endif

#undef SET_BIT
#define SET_BIT(t, n) (t |= 1UL << (n))

/**
Expand Down

0 comments on commit 1962ba1

Please sign in to comment.