update hci crate name
This commit is contained in:
parent
3dbd58f40e
commit
558247d8f6
@ -24,12 +24,12 @@ heapless = "0.7.16"
|
|||||||
|
|
||||||
bit_field = "0.10.2"
|
bit_field = "0.10.2"
|
||||||
stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] }
|
stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] }
|
||||||
bluetooth-hci-async = { version = "*", git = "https://github.com/OueslatiGhaith/bluetooth-hci", features = ["version-5-0"], optional = true }
|
stm32wb-hci = { version = "*", git = "https://github.com/OueslatiGhaith/bluetooth-hci", features = ["version-5-0"], optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt"]
|
defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt"]
|
||||||
|
|
||||||
ble = ["dep:bluetooth-hci-async"]
|
ble = ["dep:stm32wb-hci"]
|
||||||
mac = []
|
mac = []
|
||||||
|
|
||||||
stm32wb10cc = [ "embassy-stm32/stm32wb10cc" ]
|
stm32wb10cc = [ "embassy-stm32/stm32wb10cc" ]
|
||||||
|
@ -63,7 +63,7 @@ impl Ble {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub extern crate bluetooth_hci_async as hci;
|
pub extern crate stm32wb_hci as hci;
|
||||||
|
|
||||||
impl hci::Controller for Ble {
|
impl hci::Controller for Ble {
|
||||||
async fn controller_write(&mut self, opcode: Opcode, payload: &[u8]) {
|
async fn controller_write(&mut self, opcode: Opcode, payload: &[u8]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user