diff --git a/CHANGELOG.md b/CHANGELOG.md index 9045a36..910be98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [0.8.2] - 2024-10-25 +- Fix ESP-IDF v5.2.2 build ([#148](https://github.com/taks/esp32-nimble/pull/148)) + ## [0.8.1] - 2024-09-28 - Fixed BLEClient dropping multiple times (Fix #143) ([#144](https://github.com/taks/esp32-nimble/pull/144)) - Support ESP-IDF v5.2.3 diff --git a/Cargo.toml b/Cargo.toml index 615486c..6172587 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32-nimble" -version = "0.8.1" +version = "0.8.2" authors = ["taks <857tn859@gmail.com>"] edition = "2021" resolver = "2" diff --git a/build.rs b/build.rs index ee0bcd6..348a587 100644 --- a/build.rs +++ b/build.rs @@ -11,4 +11,5 @@ fn main() { println!("cargo::rustc-check-cfg=cfg(esp_idf_version_minor, values(\"2\"))"); println!("cargo::rustc-check-cfg=cfg(esp_idf_version_patch, values(\"0\"))"); println!("cargo::rustc-check-cfg=cfg(esp_idf_version_patch, values(\"1\"))"); + println!("cargo::rustc-check-cfg=cfg(esp_idf_version_patch, values(\"2\"))"); } diff --git a/src/server/ble_characteristic.rs b/src/server/ble_characteristic.rs index 55d9d3b..cb0e325 100644 --- a/src/server/ble_characteristic.rs +++ b/src/server/ble_characteristic.rs @@ -24,7 +24,7 @@ cfg_if::cfg_if! { if #[cfg(all( esp_idf_version_major = "5", esp_idf_version_minor = "2", - not(any(esp_idf_version_patch = "0", esp_idf_version_patch = "1")) + not(any(esp_idf_version_patch = "0", esp_idf_version_patch = "1", esp_idf_version_patch="2")) ))] { type NotifyTxType = sys::ble_gap_event__bindgen_ty_1__bindgen_ty_12; type Subscribe = sys::ble_gap_event__bindgen_ty_1__bindgen_ty_13;