Formatting

This commit is contained in:
Jonathan Pallant 2021-12-20 21:29:18 +00:00
parent 4959afe151
commit 882868c104
3 changed files with 8 additions and 8 deletions

View file

@ -4,9 +4,6 @@
#![no_std]
#![no_main]
use cortex_m_rt::entry;
use embedded_hal::digital::v2::OutputPin;
use embedded_time::rate::*;
use adafruit_feather_rp2040::{
hal::{
clocks::{init_clocks_and_plls, Clock},
@ -16,6 +13,9 @@ use adafruit_feather_rp2040::{
},
Pins, XOSC_CRYSTAL_FREQ,
};
use cortex_m_rt::entry;
use embedded_hal::digital::v2::OutputPin;
use embedded_time::rate::*;
use panic_halt as _;
#[entry]

View file

@ -6,10 +6,6 @@
#![no_std]
#![no_main]
use core::iter::once;
use cortex_m_rt::entry;
use embedded_hal::timer::CountDown;
use embedded_time::duration::Extensions;
use adafruit_feather_rp2040::{
hal::{
clocks::{init_clocks_and_plls, Clock},
@ -21,6 +17,10 @@ use adafruit_feather_rp2040::{
},
Pins, XOSC_CRYSTAL_FREQ,
};
use core::iter::once;
use cortex_m_rt::entry;
use embedded_hal::timer::CountDown;
use embedded_time::duration::Extensions;
use panic_halt as _;
use smart_leds::{brightness, SmartLedsWrite, RGB8};
use ws2812_pio::Ws2812;

View file

@ -14,6 +14,7 @@ use embedded_hal::timer::CountDown;
use embedded_time::duration::Extensions;
use panic_halt as _;
use smart_leds::{brightness, SmartLedsWrite, RGB8};
use sparkfun_pro_micro_rp2040::{
hal::{
clocks::{init_clocks_and_plls, Clock},
@ -25,7 +26,6 @@ use sparkfun_pro_micro_rp2040::{
},
XOSC_CRYSTAL_FREQ,
};
use smart_leds::{brightness, SmartLedsWrite, RGB8};
use ws2812_pio::Ws2812;
/// Entry point to our bare-metal application.