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 10825d02ef1eb951334cc7fbbd935777ae24d46b Author: Guy Mishol <g...@ti.com> AuthorDate: Mon Jul 28 11:27:48 2025 +0300 nimble/host: Convert BLE_HS_ATT_SVR_QUEUED_WRITE_TMO to system ticks The value of BLE_HS_ATT_SVR_QUEUED_WRITE_TMO is the expiry time for incoming ATT queued writes in ms. When used it needs to be converted to system ticks. --- nimble/host/src/ble_att_svr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nimble/host/src/ble_att_svr.c b/nimble/host/src/ble_att_svr.c index e584cae32..8fdf0e845 100644 --- a/nimble/host/src/ble_att_svr.c +++ b/nimble/host/src/ble_att_svr.c @@ -2425,7 +2425,8 @@ ble_att_svr_insert_prep_entry(uint16_t conn_handle, #if BLE_HS_ATT_SVR_QUEUED_WRITE_TMO != 0 conn->bhc_att_svr.basc_prep_timeout_at = - ble_npl_time_get() + BLE_HS_ATT_SVR_QUEUED_WRITE_TMO; + ble_npl_time_get() + + ble_npl_time_ms_to_ticks32(BLE_HS_ATT_SVR_QUEUED_WRITE_TMO); ble_hs_timer_resched(); #endif