non breaking API?
This commit is contained in:
@ -49,15 +49,8 @@ async fn main(spawner: Spawner) {
|
||||
let state = make_static!(cyw43::State::new());
|
||||
let bluetooth_firmware_offsets = &cyw43_firmware::BLUETOOTH_FIRMWARE_OFFSETS;
|
||||
let bluetooth_firmware = &cyw43_firmware::BLUETOOTH_FIRMWARE;
|
||||
let (_net_device, mut control, runner) = cyw43::new(
|
||||
state,
|
||||
pwr,
|
||||
spi,
|
||||
fw,
|
||||
Some(bluetooth_firmware_offsets),
|
||||
Some(bluetooth_firmware),
|
||||
)
|
||||
.await;
|
||||
let (_net_device, mut control, runner) =
|
||||
cyw43::new_with_bluetooth(state, pwr, spi, fw, bluetooth_firmware_offsets, bluetooth_firmware).await;
|
||||
unwrap!(spawner.spawn(cyw43_runner_task(runner)));
|
||||
|
||||
control.init(clm).await;
|
||||
|
Reference in New Issue
Block a user