Nimble: Increase the number of semaphore count to allow more semaphore

allocation

       Also updated the return value check for sem / mutex init to catch
allocation failure
This commit is contained in:
Rahul Tank 2023-06-20 19:46:37 +05:30
parent ba6e04dff6
commit fdfe75a1fd
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 75ec0a150dfdc24e3b12caef917615750f402eec Subproject commit a61d0a122ec17baf22f79c619e4a7eadb72bbb0f

View File

@ -40,7 +40,7 @@ static const char *TAG = "Timer";
#define BLE_HOST_CO_COUNT (8) #define BLE_HOST_CO_COUNT (8)
#define BLE_HOST_EV_COUNT (11 + BLE_HOST_CO_COUNT) #define BLE_HOST_EV_COUNT (11 + BLE_HOST_CO_COUNT)
#define BLE_HOST_EVQ_COUNT (3) #define BLE_HOST_EVQ_COUNT (3)
#define BLE_HOST_SEM_COUNT (1) #define BLE_HOST_SEM_COUNT (10)
#define BLE_HOST_MUTEX_COUNT (4) #define BLE_HOST_MUTEX_COUNT (4)
struct os_mempool ble_freertos_ev_pool; struct os_mempool ble_freertos_ev_pool;