diff --git a/boards/adafruit-feather-rp2040/examples/adafruit_feather_blinky.rs b/boards/adafruit-feather-rp2040/examples/adafruit_feather_blinky.rs index 762e78e..d41d650 100644 --- a/boards/adafruit-feather-rp2040/examples/adafruit_feather_blinky.rs +++ b/boards/adafruit-feather-rp2040/examples/adafruit_feather_blinky.rs @@ -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] diff --git a/boards/adafruit-feather-rp2040/examples/adafruit_feather_neopixel_rainbow.rs b/boards/adafruit-feather-rp2040/examples/adafruit_feather_neopixel_rainbow.rs index a56ba9a..019ebbf 100644 --- a/boards/adafruit-feather-rp2040/examples/adafruit_feather_neopixel_rainbow.rs +++ b/boards/adafruit-feather-rp2040/examples/adafruit_feather_neopixel_rainbow.rs @@ -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; diff --git a/boards/sparkfun-pro-micro-rp2040/examples/sparkfun_pro_micro_rainbow.rs b/boards/sparkfun-pro-micro-rp2040/examples/sparkfun_pro_micro_rainbow.rs index 5318de5..a7df773 100644 --- a/boards/sparkfun-pro-micro-rp2040/examples/sparkfun_pro_micro_rainbow.rs +++ b/boards/sparkfun-pro-micro-rp2040/examples/sparkfun_pro_micro_rainbow.rs @@ -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.