From 3ebb93e47d47095f35d561cd49f0797a74061465 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 18 Aug 2023 15:44:52 +0200 Subject: [PATCH] net-enc28j60: remove useless 1ms sleep. --- embassy-net-enc28j60/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/embassy-net-enc28j60/src/lib.rs b/embassy-net-enc28j60/src/lib.rs index 09e77baf..e958e7e3 100644 --- a/embassy-net-enc28j60/src/lib.rs +++ b/embassy-net-enc28j60/src/lib.rs @@ -381,8 +381,6 @@ where } fn read_phy_register(&mut self, register: phy::Register) -> u16 { - embassy_time::block_for(Duration::from_millis(1)); - // set PHY register address self.write_control_register(bank2::Register::MIREGADR, register.addr());