diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-10-06 22:56:31 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-10-06 23:19:53 +0200 |
| commit | 8730a013c395cf0bf4c2fa8eeb7f138288103039 (patch) | |
| tree | 39eca5fbc4570bd0129c9a291f134de5dab98820 /embassy-net-adin1110 | |
| parent | abc8e450f936567ad42cb34b5d2a7941b206aa5d (diff) | |
Rustfmt for edition 2024.
Diffstat (limited to 'embassy-net-adin1110')
| -rw-r--r-- | embassy-net-adin1110/src/crc8.rs | 2 | ||||
| -rw-r--r-- | embassy-net-adin1110/src/lib.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-net-adin1110/src/crc8.rs b/embassy-net-adin1110/src/crc8.rs index 321983e64..a51353aab 100644 --- a/embassy-net-adin1110/src/crc8.rs +++ b/embassy-net-adin1110/src/crc8.rs | |||
| @@ -23,7 +23,7 @@ pub fn crc8(data: &[u8]) -> u8 { | |||
| 23 | 23 | ||
| 24 | #[cfg(test)] | 24 | #[cfg(test)] |
| 25 | mod tests { | 25 | mod tests { |
| 26 | use ::crc::{Crc, CRC_8_SMBUS}; | 26 | use ::crc::{CRC_8_SMBUS, Crc}; |
| 27 | 27 | ||
| 28 | use super::crc8; | 28 | use super::crc8; |
| 29 | 29 | ||
diff --git a/embassy-net-adin1110/src/lib.rs b/embassy-net-adin1110/src/lib.rs index 7f1c772e2..90ac242bd 100644 --- a/embassy-net-adin1110/src/lib.rs +++ b/embassy-net-adin1110/src/lib.rs | |||
| @@ -17,9 +17,9 @@ mod phy; | |||
| 17 | mod regs; | 17 | mod regs; |
| 18 | 18 | ||
| 19 | use ch::driver::LinkState; | 19 | use ch::driver::LinkState; |
| 20 | pub use crc32::ETH_FCS; | ||
| 21 | use crc8::crc8; | 20 | use crc8::crc8; |
| 22 | use embassy_futures::select::{select, Either}; | 21 | pub use crc32::ETH_FCS; |
| 22 | use embassy_futures::select::{Either, select}; | ||
| 23 | use embassy_net_driver_channel as ch; | 23 | use embassy_net_driver_channel as ch; |
| 24 | use embassy_time::Timer; | 24 | use embassy_time::Timer; |
| 25 | use embedded_hal_1::digital::OutputPin; | 25 | use embedded_hal_1::digital::OutputPin; |
