Merge pull request #45 from kbleeke/fix-stuck-ioctl
Spawn Wifi Task immediately, Fix #44
This commit is contained in:
commit
8b24fe3df0
1 changed files with 1 additions and 1 deletions
|
@ -77,6 +77,7 @@ async fn main(spawner: Spawner) {
|
|||
|
||||
let state = singleton!(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
|
||||
|
@ -101,7 +102,6 @@ async fn main(spawner: Spawner) {
|
|||
seed
|
||||
));
|
||||
|
||||
unwrap!(spawner.spawn(wifi_task(runner)));
|
||||
unwrap!(spawner.spawn(net_task(stack)));
|
||||
|
||||
//control.join_open(env!("WIFI_NETWORK")).await;
|
||||
|
|
Loading…
Reference in a new issue