Skip to content

Commit f00a37e

Browse files
committed
Fix wrong BT configuration on the C6 (issue #556)
1 parent f266359 commit f00a37e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
### Fixed
10+
- Fix wrong BT configuration version on the c6 (issue #556)
911

1012
## [0.51.0] - 2025-01-15
1113

src/bt.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ where
572572

573573
#[cfg(not(any(esp32, esp32s3, esp32c3)))]
574574
let mut bt_cfg = esp_bt_controller_config_t {
575-
config_version: 0x20231124,
575+
config_version: CONFIG_VERSION as _,
576576
ble_ll_resolv_list_size: crate::sys::CONFIG_BT_LE_LL_RESOLV_LIST_SIZE as _,
577577
ble_hci_evt_hi_buf_count: crate::sys::DEFAULT_BT_LE_HCI_EVT_HI_BUF_COUNT as _,
578578
ble_hci_evt_lo_buf_count: crate::sys::DEFAULT_BT_LE_HCI_EVT_LO_BUF_COUNT as _,
@@ -698,7 +698,7 @@ where
698698
not(esp_idf_version = "5.1")
699699
))]
700700
csa2_select: crate::sys::DEFAULT_BT_LE_50_FEATURE_SUPPORT as _,
701-
config_magic: 0x5A5AA5A5,
701+
config_magic: CONFIG_MAGIC as _,
702702
..Default::default()
703703
};
704704

0 commit comments

Comments
 (0)