mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
net-enc28j60: remove useless 1ms sleep.
This commit is contained in:
parent
5329f234ba
commit
3ebb93e47d
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user