fix fmt for ci

This commit is contained in:
Bruno Bousquet 2024-05-06 02:52:22 -04:00
parent 55c8d3f474
commit 969933cb7b
3 changed files with 6 additions and 4 deletions

View File

@ -8,8 +8,10 @@ use core::task::{Context, Poll};
use embassy_hal_internal::{into_ref, PeripheralRef};
use super::low_level::{CountingMode, InputCaptureMode, InputTISelection, Timer};
use super::CaptureCompareInterruptHandler;
use super::{Channel, Channel1Pin, Channel2Pin, Channel3Pin, Channel4Pin, GeneralInstance4Channel};
use super::{
CaptureCompareInterruptHandler, Channel, Channel1Pin, Channel2Pin, Channel3Pin, Channel4Pin,
GeneralInstance4Channel,
};
use crate::gpio::{AFType, AnyPin, Pull};
use crate::interrupt::typelevel::{Binding, Interrupt};
use crate::time::Hertz;

View File

@ -1,6 +1,7 @@
//! Timers, PWM, quadrature decoder.
use core::marker::PhantomData;
use embassy_sync::waitqueue::AtomicWaker;
#[cfg(not(stm32l0))]

View File

@ -3,12 +3,11 @@
use defmt::*;
use embassy_executor::Spawner;
use embassy_stm32::bind_interrupts;
use embassy_stm32::gpio::{Level, Output, Pull, Speed};
use embassy_stm32::peripherals;
use embassy_stm32::time::khz;
use embassy_stm32::timer::input_capture::{CapturePin, InputCapture};
use embassy_stm32::timer::{self, Channel};
use embassy_stm32::{bind_interrupts, peripherals};
use embassy_time::Timer;
use {defmt_rtt as _, panic_probe as _};