weird format rule

This commit is contained in:
Adin Ackerman 2024-01-02 20:12:58 -08:00
parent e31dd036fe
commit 9b47fbeb47

View File

@ -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) {