aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32-wpan/Cargo.toml4
-rw-r--r--embassy-stm32-wpan/src/ble.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-stm32-wpan/Cargo.toml b/embassy-stm32-wpan/Cargo.toml
index 3659d7135..2977084ff 100644
--- a/embassy-stm32-wpan/Cargo.toml
+++ b/embassy-stm32-wpan/Cargo.toml
@@ -24,12 +24,12 @@ heapless = "0.7.16"
24 24
25bit_field = "0.10.2" 25bit_field = "0.10.2"
26stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } 26stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] }
27bluetooth-hci-async = { version = "*", git = "https://github.com/OueslatiGhaith/bluetooth-hci", features = ["version-5-0"], optional = true } 27stm32wb-hci = { version = "*", git = "https://github.com/OueslatiGhaith/bluetooth-hci", features = ["version-5-0"], optional = true }
28 28
29[features] 29[features]
30defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt"] 30defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt"]
31 31
32ble = ["dep:bluetooth-hci-async"] 32ble = ["dep:stm32wb-hci"]
33mac = [] 33mac = []
34 34
35stm32wb10cc = [ "embassy-stm32/stm32wb10cc" ] 35stm32wb10cc = [ "embassy-stm32/stm32wb10cc" ]
diff --git a/embassy-stm32-wpan/src/ble.rs b/embassy-stm32-wpan/src/ble.rs
index 04acf0aff..619cd66a0 100644
--- a/embassy-stm32-wpan/src/ble.rs
+++ b/embassy-stm32-wpan/src/ble.rs
@@ -63,7 +63,7 @@ impl Ble {
63 } 63 }
64} 64}
65 65
66pub extern crate bluetooth_hci_async as hci; 66pub extern crate stm32wb_hci as hci;
67 67
68impl hci::Controller for Ble { 68impl hci::Controller for Ble {
69 async fn controller_write(&mut self, opcode: Opcode, payload: &[u8]) { 69 async fn controller_write(&mut self, opcode: Opcode, payload: &[u8]) {