Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rafael committed Jun 24, 2024
1 parent 6dae3c0 commit b927c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rp/src/bin/wifi_webrequest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async fn main(spawner: Spawner) {
unwrap!(spawner.spawn(net_task(stack)));

loop {
//match control.join_open(WIFI_NETWORK).await { // for open networks
//match control.join_open(WIFI_NETWORK).await { // for open networks
match control.join_wpa2(WIFI_NETWORK, WIFI_PASSWORD).await {
Ok(_) => break,
Err(err) => {
Expand Down Expand Up @@ -136,7 +136,7 @@ async fn main(spawner: Spawner) {
let mut http_client = HttpClient::new_with_tls(&tcp_client, &dns_client, tls_config);
let url = "https://worldtimeapi.org/api/timezone/Europe/Berlin";
// for non-TLS requests, use this instead:
// let mut http_client = HttpClient::new(&tcp_client, &dns_client);
// let mut http_client = HttpClient::new(&tcp_client, &dns_client);
// let url = "http://worldtimeapi.org/api/timezone/Europe/Berlin";

info!("connecting to {}", &url);
Expand Down

0 comments on commit b927c22

Please sign in to comment.