net: remove atomic-polyfill.

This commit is contained in:
Dario Nieuwenhuis
2023-10-12 01:35:23 +02:00
parent c283e2d1b9
commit 32b89eeba1
4 changed files with 9 additions and 12 deletions

View File

@ -105,8 +105,8 @@ async fn main(spawner: Spawner) -> ! {
info!("Network task initialized");
static STATE: TcpClientState<1, 1024, 1024> = TcpClientState::new();
let client = TcpClient::new(&stack, &STATE);
let state: TcpClientState<1, 1024, 1024> = TcpClientState::new();
let client = TcpClient::new(&stack, &state);
loop {
let addr = SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(10, 42, 0, 1), 8000));