mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
weird format rule
This commit is contained in:
parent
e31dd036fe
commit
9b47fbeb47
@ -2,22 +2,16 @@
|
|||||||
#![no_main]
|
#![no_main]
|
||||||
|
|
||||||
use defmt::info;
|
use defmt::info;
|
||||||
use {defmt_rtt as _, panic_probe as _};
|
|
||||||
|
|
||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_stm32::{
|
use embassy_stm32::gpio::OutputType;
|
||||||
gpio::OutputType,
|
use embassy_stm32::pac::rcc::vals::Tim1sel;
|
||||||
pac,
|
use embassy_stm32::rcc::{ClockSrc, Config as RccConfig, PllConfig, PllSource, Pllm, Plln, Pllq, Pllr};
|
||||||
pac::rcc::vals::Tim1sel,
|
use embassy_stm32::time::khz;
|
||||||
rcc::{ClockSrc, Config as RccConfig, PllConfig, PllSource, Pllm, Plln, Pllq, Pllr},
|
use embassy_stm32::timer::complementary_pwm::{ComplementaryPwm, ComplementaryPwmPin};
|
||||||
time::khz,
|
use embassy_stm32::timer::simple_pwm::PwmPin;
|
||||||
timer::{
|
use embassy_stm32::timer::Channel;
|
||||||
complementary_pwm::{ComplementaryPwm, ComplementaryPwmPin},
|
use embassy_stm32::{pac, Config as PeripheralConfig};
|
||||||
simple_pwm::PwmPin,
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
Channel,
|
|
||||||
},
|
|
||||||
Config as PeripheralConfig,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
async fn main(_spawner: Spawner) {
|
async fn main(_spawner: Spawner) {
|
||||||
|
Loading…
Reference in New Issue
Block a user