mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
fmt
This commit is contained in:
parent
2655426cd8
commit
7eb605d116
@ -65,19 +65,18 @@
|
||||
/// Enums defined for peripheral parameters
|
||||
pub mod enums;
|
||||
|
||||
use core::future::poll_fn;
|
||||
use core::marker::PhantomData;
|
||||
use core::task::Poll;
|
||||
|
||||
use embassy_hal_internal::{into_ref, PeripheralRef};
|
||||
use embassy_sync::waitqueue::AtomicWaker;
|
||||
pub use enums::*;
|
||||
|
||||
use crate::gpio::{AfType, AnyPin, OutputType, Speed};
|
||||
use crate::interrupt;
|
||||
use crate::interrupt::typelevel::Interrupt;
|
||||
use crate::rcc::{self, RccPeripheral};
|
||||
use crate::{peripherals, Peripheral};
|
||||
use core::future::poll_fn;
|
||||
use core::task::Poll;
|
||||
use embassy_sync::waitqueue::AtomicWaker;
|
||||
use crate::{interrupt, peripherals, Peripheral};
|
||||
|
||||
#[cfg(tsc_v1)]
|
||||
const TSC_NUM_GROUPS: u32 = 6;
|
||||
|
@ -2,10 +2,8 @@
|
||||
#![no_main]
|
||||
|
||||
use defmt::*;
|
||||
use embassy_stm32::{
|
||||
bind_interrupts,
|
||||
tsc::{self, *},
|
||||
};
|
||||
use embassy_stm32::bind_interrupts;
|
||||
use embassy_stm32::tsc::{self, *};
|
||||
use embassy_time::Timer;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user