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 1a001c9 commit 0ea54e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/wps_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
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::wifi::{WpsConfig, WpsFactoryInfo, WpsStatus, WpsType};
use esp_idf_svc::{eventloop::EspSystemEventLoop, nvs::EspDefaultNvsPartition};

use futures::executor::block_on;

use log::info;

const WPS_CONFIG: WpsConfig = WpsConfig {
Expand Down

0 comments on commit 0ea54e6

Please sign in to comment.