Add more log for hci issue

This commit is contained in:
gengyuchao
2020-10-14 17:02:53 +08:00
committed by maojianxin
parent 1cf1580619
commit 2d85f00244

View File

@ -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));
}