From 978f84680528f1476ff693e9c63d2b04bf558d73 Mon Sep 17 00:00:00 2001 From: 9names <60134748+9names@users.noreply.github.com> Date: Sat, 4 Dec 2021 23:53:00 +1100 Subject: [PATCH] Replace rp2040_hal::pio::PIOExt with bsp::hal::pio::PIOExt in BSPs --- boards/feather_rp2040/examples/feather_neopixel_rainbow.rs | 2 +- boards/kb2040/examples/kb2040_rainbow.rs | 2 +- boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/feather_rp2040/examples/feather_neopixel_rainbow.rs b/boards/feather_rp2040/examples/feather_neopixel_rainbow.rs index ba50fb1..a1e47d8 100644 --- a/boards/feather_rp2040/examples/feather_neopixel_rainbow.rs +++ b/boards/feather_rp2040/examples/feather_neopixel_rainbow.rs @@ -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"] diff --git a/boards/kb2040/examples/kb2040_rainbow.rs b/boards/kb2040/examples/kb2040_rainbow.rs index 49f78d9..f62e1c5 100644 --- a/boards/kb2040/examples/kb2040_rainbow.rs +++ b/boards/kb2040/examples/kb2040_rainbow.rs @@ -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; diff --git a/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs index 993fbc3..c76ad5e 100644 --- a/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs +++ b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs @@ -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;