Code cleanup.
This commit is contained in:
parent
6863786243
commit
23724b6bf6
@ -40,7 +40,7 @@ async fn main(spawner: Spawner) {
|
||||
let state = make_static!(cyw43::State::new());
|
||||
let (_net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await;
|
||||
unwrap!(spawner.spawn(wifi_task(runner)));
|
||||
|
||||
|
||||
control.init(clm).await;
|
||||
control
|
||||
.set_power_management(cyw43::PowerManagementMode::PowerSave)
|
||||
|
Loading…
Reference in New Issue
Block a user