Skip to content

Commit

Permalink
Fix wrong BT configuration on the C6 (issue #556)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 29, 2025
1 parent f266359 commit f00a37e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Fix wrong BT configuration version on the c6 (issue #556)

## [0.51.0] - 2025-01-15

Expand Down
4 changes: 2 additions & 2 deletions src/bt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ where

#[cfg(not(any(esp32, esp32s3, esp32c3)))]
let mut bt_cfg = esp_bt_controller_config_t {
config_version: 0x20231124,
config_version: CONFIG_VERSION as _,
ble_ll_resolv_list_size: crate::sys::CONFIG_BT_LE_LL_RESOLV_LIST_SIZE as _,
ble_hci_evt_hi_buf_count: crate::sys::DEFAULT_BT_LE_HCI_EVT_HI_BUF_COUNT as _,
ble_hci_evt_lo_buf_count: crate::sys::DEFAULT_BT_LE_HCI_EVT_LO_BUF_COUNT as _,
Expand Down Expand Up @@ -698,7 +698,7 @@ where
not(esp_idf_version = "5.1")
))]
csa2_select: crate::sys::DEFAULT_BT_LE_50_FEATURE_SUPPORT as _,
config_magic: 0x5A5AA5A5,
config_magic: CONFIG_MAGIC as _,
..Default::default()
};

Expand Down

0 comments on commit f00a37e

Please sign in to comment.