Resolve rustfmt issue and unused import errors
This commit is contained in:
parent
54751b7a50
commit
fda6e3fb8c
2 changed files with 3 additions and 4 deletions
|
@ -1010,7 +1010,6 @@ fn main() {
|
|||
(("octospi", "NCLK"), quote!(crate::ospi::NckPin)),
|
||||
].into();
|
||||
|
||||
|
||||
for p in METADATA.peripherals {
|
||||
if let Some(regs) = &p.registers {
|
||||
for pin in p.pins {
|
||||
|
|
|
@ -9,12 +9,12 @@ use embassy_embedded_hal::{GetConfig, SetConfig};
|
|||
use embassy_hal_internal::{into_ref, PeripheralRef};
|
||||
use embedded_hal_1::spi::ErrorKind;
|
||||
pub use enums::*;
|
||||
use stm32_metapac::octospi::vals::{MemType, PhaseMode, SizeInBits};
|
||||
use stm32_metapac::octospi::vals::{PhaseMode, SizeInBits};
|
||||
|
||||
use crate::dma::{slice_ptr_parts, word, Transfer};
|
||||
use crate::dma::{word, Transfer};
|
||||
use crate::gpio::sealed::{AFType, Pin as _};
|
||||
use crate::gpio::{AnyPin, Pull};
|
||||
use crate::pac::octospi::{regs, vals, Octospi as Regs};
|
||||
use crate::pac::octospi::{vals, Octospi as Regs};
|
||||
use crate::rcc::RccPeripheral;
|
||||
use crate::{peripherals, Peripheral};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue