From 663141b4e456bbfacaaff8decdba6840c76a136b Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 28 Oct 2021 03:07:06 +0200 Subject: nrf: add initial nrf5340 support --- embassy-net/src/stack.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'embassy-net/src') diff --git a/embassy-net/src/stack.rs b/embassy-net/src/stack.rs index 42defdcaf..4faf94953 100644 --- a/embassy-net/src/stack.rs +++ b/embassy-net/src/stack.rs @@ -75,6 +75,7 @@ impl Stack { f(stack) } + #[allow(clippy::absurd_extreme_comparisons)] pub fn get_local_port(&mut self) -> u16 { let res = self.next_local_port; self.next_local_port = if res >= LOCAL_PORT_MAX { -- cgit