fix fmt for ci
This commit is contained in:
parent
55c8d3f474
commit
969933cb7b
@ -8,8 +8,10 @@ use core::task::{Context, Poll};
|
|||||||
use embassy_hal_internal::{into_ref, PeripheralRef};
|
use embassy_hal_internal::{into_ref, PeripheralRef};
|
||||||
|
|
||||||
use super::low_level::{CountingMode, InputCaptureMode, InputTISelection, Timer};
|
use super::low_level::{CountingMode, InputCaptureMode, InputTISelection, Timer};
|
||||||
use super::CaptureCompareInterruptHandler;
|
use super::{
|
||||||
use super::{Channel, Channel1Pin, Channel2Pin, Channel3Pin, Channel4Pin, GeneralInstance4Channel};
|
CaptureCompareInterruptHandler, Channel, Channel1Pin, Channel2Pin, Channel3Pin, Channel4Pin,
|
||||||
|
GeneralInstance4Channel,
|
||||||
|
};
|
||||||
use crate::gpio::{AFType, AnyPin, Pull};
|
use crate::gpio::{AFType, AnyPin, Pull};
|
||||||
use crate::interrupt::typelevel::{Binding, Interrupt};
|
use crate::interrupt::typelevel::{Binding, Interrupt};
|
||||||
use crate::time::Hertz;
|
use crate::time::Hertz;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
//! Timers, PWM, quadrature decoder.
|
//! Timers, PWM, quadrature decoder.
|
||||||
|
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
|
|
||||||
use embassy_sync::waitqueue::AtomicWaker;
|
use embassy_sync::waitqueue::AtomicWaker;
|
||||||
|
|
||||||
#[cfg(not(stm32l0))]
|
#[cfg(not(stm32l0))]
|
||||||
|
|||||||
@ -3,12 +3,11 @@
|
|||||||
|
|
||||||
use defmt::*;
|
use defmt::*;
|
||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_stm32::bind_interrupts;
|
|
||||||
use embassy_stm32::gpio::{Level, Output, Pull, Speed};
|
use embassy_stm32::gpio::{Level, Output, Pull, Speed};
|
||||||
use embassy_stm32::peripherals;
|
|
||||||
use embassy_stm32::time::khz;
|
use embassy_stm32::time::khz;
|
||||||
use embassy_stm32::timer::input_capture::{CapturePin, InputCapture};
|
use embassy_stm32::timer::input_capture::{CapturePin, InputCapture};
|
||||||
use embassy_stm32::timer::{self, Channel};
|
use embassy_stm32::timer::{self, Channel};
|
||||||
|
use embassy_stm32::{bind_interrupts, peripherals};
|
||||||
use embassy_time::Timer;
|
use embassy_time::Timer;
|
||||||
use {defmt_rtt as _, panic_probe as _};
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user