Skip to content

Commit 70aae5f

Browse files
committed
Merge branch 'fix/ble_log_v2_dual_core_iwt_v5.3' into 'release/v5.3'
fix(ble): added missed spin lock initialization (v5.3) See merge request espressif/esp-idf!44379
2 parents 5dda1d0 + abfb109 commit 70aae5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/bt/common/ble_log/src/ble_log_lbm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ bool ble_log_lbm_init(void)
198198
/* Initialize lock types for spin pool */
199199
for (int i = 0; i < BLE_LOG_LBM_SPIN_MAX; i++) {
200200
lbm_ctx->spin_pool[i].lock_type = BLE_LOG_LBM_LOCK_SPIN;
201+
portMUX_INITIALIZE(&(lbm_ctx->spin_pool[i].spin_lock));
201202
}
202203

203204
#if CONFIG_BLE_LOG_LL_ENABLED

0 commit comments

Comments
 (0)