Skip to content

Commit

Permalink
Use our block_on
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 24, 2024
1 parent bf7d255 commit 1a001c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/wifi_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ use core::convert::TryInto;
use embedded_svc::wifi::{AuthMethod, ClientConfiguration, Configuration};

use esp_idf_svc::hal::prelude::Peripherals;
use esp_idf_svc::hal::task::block_on;
use esp_idf_svc::log::EspLogger;
use esp_idf_svc::timer::EspTaskTimerService;
use esp_idf_svc::wifi::{AsyncWifi, EspWifi};
use esp_idf_svc::{eventloop::EspSystemEventLoop, nvs::EspDefaultNvsPartition};

use futures::executor::block_on;

use log::info;

const SSID: &str = env!("WIFI_SSID");
Expand Down

0 comments on commit 1a001c9

Please sign in to comment.