From 4d31b2107cc3a31de7ff80efedc5b9293bb9d32a Mon Sep 17 00:00:00 2001 From: Powerbyte7 <40431794+Powerbyte7@users.noreply.github.com> Date: Wed, 13 May 2026 22:31:54 +0200 Subject: [PATCH] Log accurate timeout duration Changed log message to use the configured timeout value instead of the default 200ms timeout, to avoid confusion. --- src/osdp_cp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osdp_cp.c b/src/osdp_cp.c index ba2081ec..53d3e153 100644 --- a/src/osdp_cp.c +++ b/src/osdp_cp.c @@ -896,7 +896,8 @@ static int cp_phy_state_update(struct osdp_pd *pd) if (osdp_millis_now() > pd->resp_expected) { if (pd->phy_retry_count < OSDP_CMD_MAX_RETRIES) { pd->phy_retry_count += 1; - LOG_DBG("No response in 200ms; probing (%d)", + LOG_DBG("No response in %dms post-transmit; probing (%d)", + OSDP_RESP_TOUT_MS, pd->phy_retry_count); cp_phy_state_wait(pd, OSDP_CMD_RETRY_WAIT_MS); return OSDP_CP_ERR_DEFER;