From 2d85f00244c60dd444c3e67d33e8145aade9aab3 Mon Sep 17 00:00:00 2001 From: gengyuchao Date: Wed, 14 Oct 2020 17:02:53 +0800 Subject: [PATCH] Add more log for hci issue --- components/bt/bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bt.c b/components/bt/bt.c index a223b73686..50deb3883e 100644 --- a/components/bt/bt.c +++ b/components/bt/bt.c @@ -1612,7 +1612,7 @@ void bt_abort_with_coredump_log(uint16_t error) asm volatile ("rsr %0, INTENABLE\n" :"=r"(intenable)); RMT_DBG_LOG_ERROR("abort!0x%x INT R:0x%x EN 0x%x",error,*((uint32_t*)BT_INT_STA_REG),intenable); RMT_DBG_LOG_ERROR("BLE INT R:0x%x",*((uint32_t*)BLE_INT_STA_REG)); - r_assert_with_log(error,intenable,*((uint32_t*)BT_INT_STA_REG),*((uint32_t*)BLE_INT_STA_REG),(uint32_t)(esp_timer_get_time()/1000)); + abort_with_more_log(error,intenable,*((uint32_t*)BT_INT_STA_REG),*((uint32_t*)BLE_INT_STA_REG),(uint32_t)(esp_timer_get_time()/1000)); }