aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenĂ© van Dorst <[email protected]>2023-09-07 21:02:33 +0200
committerRenĂ© van Dorst <[email protected]>2023-09-07 21:02:33 +0200
commitd6a1118406deb1cb4cf6317dfbbacf12ff9c7d63 (patch)
tree143331fdc8ee110e41e7d8b31c4ebbb91a7a891e
parent26740bb3ef01b4965d3be92622f0f4220b6cb931 (diff)
fix some spelling
-rw-r--r--embassy-net-adin1110/src/lib.rs4
-rw-r--r--embassy-net-adin1110/src/mdio.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-net-adin1110/src/lib.rs b/embassy-net-adin1110/src/lib.rs
index e0af7bde9..78bf9fb8c 100644
--- a/embassy-net-adin1110/src/lib.rs
+++ b/embassy-net-adin1110/src/lib.rs
@@ -427,9 +427,9 @@ impl<SPI: SpiDevice> mdio::MdioBus for ADIN1110<SPI> {
427 } 427 }
428} 428}
429 429
430/// Background runner for the ADIN110. 430/// Background runner for the ADIN1110.
431/// 431///
432/// You must call `.run()` in a background task for the ADIN1100 to operate. 432/// You must call `.run()` in a background task for the ADIN1110 to operate.
433pub struct Runner<'d, SPI, INT, RST> { 433pub struct Runner<'d, SPI, INT, RST> {
434 mac: ADIN1110<SPI>, 434 mac: ADIN1110<SPI>,
435 ch: ch::Runner<'d, MTU>, 435 ch: ch::Runner<'d, MTU>,
diff --git a/embassy-net-adin1110/src/mdio.rs b/embassy-net-adin1110/src/mdio.rs
index 68477006a..60abbe16a 100644
--- a/embassy-net-adin1110/src/mdio.rs
+++ b/embassy-net-adin1110/src/mdio.rs
@@ -36,7 +36,7 @@ enum Reg13Op {
36/// Driver needs to implement the Clause 22 36/// Driver needs to implement the Clause 22
37/// Optional Clause 45 is the device supports this. 37/// Optional Clause 45 is the device supports this.
38/// 38///
39/// Claus 45 methodes are bases on <https://www.ieee802.org/3/efm/public/nov02/oam/pannell_oam_1_1102.pdf> 39/// Clause 45 methodes are bases on <https://www.ieee802.org/3/efm/public/nov02/oam/pannell_oam_1_1102.pdf>
40pub trait MdioBus { 40pub trait MdioBus {
41 type Error; 41 type Error;
42 42