diff options
| -rw-r--r-- | embassy-stm32-wpan/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-stm32-wpan/src/ble.rs | 2 |
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 | ||
| 25 | bit_field = "0.10.2" | 25 | bit_field = "0.10.2" |
| 26 | stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } | 26 | stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } |
| 27 | bluetooth-hci-async = { version = "*", git = "https://github.com/OueslatiGhaith/bluetooth-hci", features = ["version-5-0"], optional = true } | 27 | stm32wb-hci = { version = "*", git = "https://github.com/OueslatiGhaith/bluetooth-hci", features = ["version-5-0"], optional = true } |
| 28 | 28 | ||
| 29 | [features] | 29 | [features] |
| 30 | defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt"] | 30 | defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt"] |
| 31 | 31 | ||
| 32 | ble = ["dep:bluetooth-hci-async"] | 32 | ble = ["dep:stm32wb-hci"] |
| 33 | mac = [] | 33 | mac = [] |
| 34 | 34 | ||
| 35 | stm32wb10cc = [ "embassy-stm32/stm32wb10cc" ] | 35 | stm32wb10cc = [ "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 | ||
| 66 | pub extern crate bluetooth_hci_async as hci; | 66 | pub extern crate stm32wb_hci as hci; |
| 67 | 67 | ||
| 68 | impl hci::Controller for Ble { | 68 | impl 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]) { |
