Skip to content

Commit

Permalink
Bump esp-hal versions, patch embassy-net (esp-rs#386)
Browse files Browse the repository at this point in the history
* Bump esp-hal versions, patch embassy-net

* Make bench.rs example compile again

* Patch all the embassy-* dependencies
  • Loading branch information
bjoernQ committed May 24, 2024
1 parent e1277ec commit 9e961ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions esp-wifi/examples/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,18 @@ fn main() -> ! {
let mut tx_buffer = [0u8; TX_BUFFER_SIZE];
let mut socket = wifi_stack.get_socket(&mut rx_buffer, &mut tx_buffer);

let delay = hal::Delay::new(&clocks);
let mut delay = hal::Delay::new(&clocks);

loop {
test_download(server_address, &mut socket);
delay.delay(3_000_000);
delay.delay_ms(3_000u32);
socket.work();
test_upload(server_address, &mut socket);
socket.work();
delay.delay(3_000_000);
delay.delay_ms(3_000u32);
test_upload_download(server_address, &mut socket);
socket.work();
delay.delay(3_000_000);
delay.delay_ms(3_000u32);
}
}

Expand Down

0 comments on commit 9e961ef

Please sign in to comment.