This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 1962ba172 nimble/host/src/ble_gap.c - undefined SET_BIT before 
defining it. The STM32 port also has a SET_BIT.
1962ba172 is described below

commit 1962ba172647002782b8879e6e10772efb79857c
Author: dmainz <[email protected]>
AuthorDate: Sat Sep 14 13:00:13 2024 -0500

    nimble/host/src/ble_gap.c - undefined SET_BIT before defining it.
    The STM32 port also has a SET_BIT.
---
 nimble/host/src/ble_gap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c
index b0ce6ff47..5a161a276 100644
--- a/nimble/host/src/ble_gap.c
+++ b/nimble/host/src/ble_gap.c
@@ -41,6 +41,7 @@
 #define bssnz_t
 #endif
 
+#undef SET_BIT
 #define SET_BIT(t, n)  (t |= 1UL << (n))
 
 /**

Reply via email to