mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-11 12:37:58 +00:00
NimBLE: Correct the log level of timer reset value print
This commit is contained in:
committed by
Abhinav Kudnar
parent
b45540a599
commit
e166060b6e
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user