Replace rp2040_hal::pio::PIOExt with bsp::hal::pio::PIOExt in BSPs

This commit is contained in:
9names 2021-12-04 23:53:00 +11:00
parent 6e184a91a7
commit 978f846805
3 changed files with 3 additions and 3 deletions

View file

@ -14,6 +14,7 @@ use feather_rp2040::{
hal::{
clocks::{init_clocks_and_plls, Clock},
pac,
pio::PIOExt,
timer::Timer,
watchdog::Watchdog,
Sio,
@ -21,7 +22,6 @@ use feather_rp2040::{
Pins, XOSC_CRYSTAL_FREQ,
};
use panic_halt as _;
use rp2040_hal::pio::PIOExt;
use smart_leds::{brightness, SmartLedsWrite, RGB8};
use ws2812_pio::Ws2812;
#[link_section = ".boot2"]

View file

@ -18,13 +18,13 @@ use kb2040::{
hal::{
clocks::{init_clocks_and_plls, Clock},
pac,
pio::PIOExt,
timer::Timer,
watchdog::Watchdog,
Sio,
},
XOSC_CRYSTAL_FREQ,
};
use rp2040_hal::pio::PIOExt;
use smart_leds::{brightness, SmartLedsWrite, RGB8};
use ws2812_pio::Ws2812;

View file

@ -18,13 +18,13 @@ use pro_micro_rp2040::{
hal::{
clocks::{init_clocks_and_plls, Clock},
pac,
pio::PIOExt,
timer::Timer,
watchdog::Watchdog,
Sio,
},
XOSC_CRYSTAL_FREQ,
};
use rp2040_hal::pio::PIOExt;
use smart_leds::{brightness, SmartLedsWrite, RGB8};
use ws2812_pio::Ws2812;