mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
rustfmt
This commit is contained in:
parent
d7db8fbab9
commit
d92fb002ec
@ -13,7 +13,6 @@ use embassy_rp::block::ImageDef;
|
|||||||
use embassy_rp::peripherals::{PIN_25, PIN_4, PWM_SLICE2, PWM_SLICE4};
|
use embassy_rp::peripherals::{PIN_25, PIN_4, PWM_SLICE2, PWM_SLICE4};
|
||||||
use embassy_rp::pwm::{Config, Pwm, SetDutyCycle};
|
use embassy_rp::pwm::{Config, Pwm, SetDutyCycle};
|
||||||
use embassy_time::Timer;
|
use embassy_time::Timer;
|
||||||
// use embedded_hal_1::pwm::SetDutyCycle;
|
|
||||||
use {defmt_rtt as _, panic_probe as _};
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
#[link_section = ".start_block"]
|
#[link_section = ".start_block"]
|
||||||
|
@ -10,12 +10,9 @@ use defmt::*;
|
|||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_rp::block::ImageDef;
|
use embassy_rp::block::ImageDef;
|
||||||
use embassy_rp::config::Config;
|
use embassy_rp::config::Config;
|
||||||
use embassy_rp::gpio;
|
|
||||||
use embassy_rp::gpio::Output;
|
use embassy_rp::gpio::Output;
|
||||||
use embassy_rp::peripherals;
|
use embassy_rp::{gpio, peripherals, pwm};
|
||||||
use embassy_rp::pwm;
|
use embassy_time::{Duration, Timer};
|
||||||
use embassy_time::Duration;
|
|
||||||
use embassy_time::Timer;
|
|
||||||
use tb6612fng::{DriveCommand, Motor, Tb6612fng};
|
use tb6612fng::{DriveCommand, Motor, Tb6612fng};
|
||||||
use {defmt_rtt as _, panic_probe as _};
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user