Skip to content

Commit

Permalink
Merge branch 'v0.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
taks committed Oct 25, 2024
2 parents a42a669 + a131092 commit 6ea1150
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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\"))");
}
2 changes: 1 addition & 1 deletion src/server/ble_characteristic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ea1150

Please sign in to comment.