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

commit d5e471c5271dd15915f11dd3334f7bacd284633a
Author: Szymon Janc <[email protected]>
AuthorDate: Wed Aug 6 11:30:52 2025 +0200

    porting/linux: Make BLE_NPL_TIME_FOREVER unsigned
    
    There is no point in using singed value for this since
    ble_npl_mutex_pend takes uint32 as timeout parameter.
---
 porting/npl/linux/include/nimble/nimble_npl_os.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/porting/npl/linux/include/nimble/nimble_npl_os.h 
b/porting/npl/linux/include/nimble/nimble_npl_os.h
index d8688d3e6..1db56794a 100644
--- a/porting/npl/linux/include/nimble/nimble_npl_os.h
+++ b/porting/npl/linux/include/nimble/nimble_npl_os.h
@@ -33,7 +33,7 @@ extern "C" {
 
 #define BLE_NPL_OS_ALIGNMENT    (__WORDSIZE / 8)
 
-#define BLE_NPL_TIME_FOREVER    INT32_MAX
+#define BLE_NPL_TIME_FOREVER    UINT32_MAX
 
 struct ble_npl_eventq * ble_npl_eventq_dflt_get(void);
 void ble_npl_eventq_run(struct ble_npl_eventq *evq);

Reply via email to