mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-25 02:17:21 +00:00
nimble/host: Increase HCI command timeout
1 sec is not enough sometimes, let's make it 2 secs - the same value is used in e.g. Linux Kernel. X-Original-Commit: 185e2961e7271227d4b35db3b4e427edd2d6cd66
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include "ble_hs_dbg_priv.h"
|
||||
#include "ble_monitor_priv.h"
|
||||
|
||||
#define BLE_HCI_CMD_TIMEOUT (OS_TICKS_PER_SEC)
|
||||
#define BLE_HCI_CMD_TIMEOUT ((OS_TICKS_PER_SEC) * 2)
|
||||
|
||||
static struct os_mutex ble_hs_hci_mutex;
|
||||
static struct os_sem ble_hs_hci_sem;
|
||||
|
||||
Reference in New Issue
Block a user