From 744529b79c336eea440ecd396d6d242734db5ec8 Mon Sep 17 00:00:00 2001 From: Manuel Navarrete Date: Fri, 29 May 2026 12:08:23 +0000 Subject: [PATCH] fix portability: replace min() macro with MIN() Replace min() macro usage with MIN() for portability reasons. --- nimble/controller/src/ble_ll_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/controller/src/ble_ll_ctrl.c b/nimble/controller/src/ble_ll_ctrl.c index 14ab550058..44ed510ebb 100644 --- a/nimble/controller/src/ble_ll_ctrl.c +++ b/nimble/controller/src/ble_ll_ctrl.c @@ -2131,7 +2131,7 @@ ble_ll_conn_chk_conn_update_req(const struct ble_ll_conn_upd_req *req) /* The transmitWindowSize shall be a multiple of 1.25 ms in the range * 1.25 ms to the lesser of 10 ms and (connInterval - 1.25 ms). */ - if ((req->winsize < 1) || (req->winsize > min(8, req->interval - 1))) { + if ((req->winsize < 1) || (req->winsize > MIN(8, req->interval - 1))) { return false; }