Skip to content

Commit d5e471c

Browse files
committed
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.
1 parent 35087de commit d5e471c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

porting/npl/linux/include/nimble/nimble_npl_os.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extern "C" {
3333

3434
#define BLE_NPL_OS_ALIGNMENT (__WORDSIZE / 8)
3535

36-
#define BLE_NPL_TIME_FOREVER INT32_MAX
36+
#define BLE_NPL_TIME_FOREVER UINT32_MAX
3737

3838
struct ble_npl_eventq * ble_npl_eventq_dflt_get(void);
3939
void ble_npl_eventq_run(struct ble_npl_eventq *evq);

0 commit comments

Comments
 (0)