net-enc28j60: remove useless 1ms sleep.

This commit is contained in:
Dario Nieuwenhuis 2023-08-18 15:44:52 +02:00
parent 5329f234ba
commit 3ebb93e47d

View File

@ -381,8 +381,6 @@ where
} }
fn read_phy_register(&mut self, register: phy::Register) -> u16 { fn read_phy_register(&mut self, register: phy::Register) -> u16 {
embassy_time::block_for(Duration::from_millis(1));
// set PHY register address // set PHY register address
self.write_control_register(bank2::Register::MIREGADR, register.addr()); self.write_control_register(bank2::Register::MIREGADR, register.addr());