Cargo fmt
This commit is contained in:
parent
e36d4f460a
commit
a26ffeb84b
@ -1,9 +1,8 @@
|
|||||||
use crate::pac::CRC as PAC_CRC;
|
use crate::pac::CRC as PAC_CRC;
|
||||||
use crate::peripherals::CRC;
|
use crate::peripherals::CRC;
|
||||||
use crate::rcc::sealed::RccPeripheral;
|
use crate::rcc::sealed::RccPeripheral;
|
||||||
use embassy_hal_common::unborrow;
|
|
||||||
use embassy::util::Unborrow;
|
use embassy::util::Unborrow;
|
||||||
|
use embassy_hal_common::unborrow;
|
||||||
|
|
||||||
pub struct Crc {
|
pub struct Crc {
|
||||||
_peripheral: CRC,
|
_peripheral: CRC,
|
||||||
@ -50,5 +49,4 @@ impl Crc {
|
|||||||
pub fn read(&self) -> u32 {
|
pub fn read(&self) -> u32 {
|
||||||
unsafe { PAC_CRC.dr().read() }
|
unsafe { PAC_CRC.dr().read() }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@ use crate::pac::crc::vals;
|
|||||||
use crate::pac::CRC as PAC_CRC;
|
use crate::pac::CRC as PAC_CRC;
|
||||||
use crate::peripherals::CRC;
|
use crate::peripherals::CRC;
|
||||||
use crate::rcc::sealed::RccPeripheral;
|
use crate::rcc::sealed::RccPeripheral;
|
||||||
use embassy_hal_common::unborrow;
|
|
||||||
use embassy::util::Unborrow;
|
use embassy::util::Unborrow;
|
||||||
|
use embassy_hal_common::unborrow;
|
||||||
|
|
||||||
pub struct Crc {
|
pub struct Crc {
|
||||||
_peripheral: CRC,
|
_peripheral: CRC,
|
||||||
|
Loading…
Reference in New Issue
Block a user