diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rpi-pico-w/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rpi-pico-w/src/main.rs b/examples/rpi-pico-w/src/main.rs index fd58e46df..73cfdf42f 100644 --- a/examples/rpi-pico-w/src/main.rs +++ b/examples/rpi-pico-w/src/main.rs | |||
| @@ -70,7 +70,7 @@ async fn main(spawner: Spawner) { | |||
| 70 | 70 | ||
| 71 | spawner.spawn(wifi_task(runner)).unwrap(); | 71 | spawner.spawn(wifi_task(runner)).unwrap(); |
| 72 | 72 | ||
| 73 | control.init(clm).await; | 73 | control.init(clm, cyw43::PowerManagementMode::PowerSave).await; |
| 74 | 74 | ||
| 75 | //control.join_open(env!("WIFI_NETWORK")).await; | 75 | //control.join_open(env!("WIFI_NETWORK")).await; |
| 76 | control.join_wpa2(env!("WIFI_NETWORK"), env!("WIFI_PASSWORD")).await; | 76 | control.join_wpa2(env!("WIFI_NETWORK"), env!("WIFI_PASSWORD")).await; |
