mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
Add more check for hci timeout
This commit is contained in:
@ -1491,6 +1491,9 @@ void esp_bt_check_need_restart()
|
|||||||
|
|
||||||
void bt_abort_with_coredump_log(uint16_t error)
|
void bt_abort_with_coredump_log(uint16_t error)
|
||||||
{
|
{
|
||||||
|
uint32_t intenable;
|
||||||
|
asm volatile ("rsr %0, INTENABLE\n" :"=r"(intenable));
|
||||||
|
RMT_DBG_LOG_ERROR("abort!INT R:0x%x EN 0x%x",*((uint32_t*)BT_INT_STA_REG),intenable);
|
||||||
__asm__ __volatile__("ill\n");
|
__asm__ __volatile__("ill\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Submodule components/bt/lib updated: 1c8bc690b4...3d45e50269
Reference in New Issue
Block a user