From e166060b6e8c9c8e8f4ce3c683f54649744998d6 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Fri, 22 Apr 2022 12:45:23 +0530 Subject: [PATCH] NimBLE: Correct the log level of timer reset value print --- nimble/host/src/ble_hs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/src/ble_hs.c b/nimble/host/src/ble_hs.c index c58d14f02..9128efc26 100644 --- a/nimble/host/src/ble_hs.c +++ b/nimble/host/src/ble_hs.c @@ -476,7 +476,7 @@ ble_hs_timer_sched(int32_t ticks_from_now) } else if (ble_npl_callout_get_ticks(&ble_hs_timer) <= ble_npl_time_get()) { /* Reset timer if currect time is later than expiration time. */ - BLE_HS_LOG(ERROR,"exp_time:%d.now:%d.ticks:%d.active:%d.Need reset.",ble_npl_callout_get_ticks(&ble_hs_timer),ble_npl_time_get(),ticks_from_now,ble_npl_callout_is_active(&ble_hs_timer)); + BLE_HS_LOG(DEBUG,"exp_time:%d.now:%d.ticks:%d.active:%d.Need reset.",ble_npl_callout_get_ticks(&ble_hs_timer),ble_npl_time_get(),ticks_from_now,ble_npl_callout_is_active(&ble_hs_timer)); ble_hs_timer_reset(ticks_from_now); } }