From c4ae152fda7a5499e1e4bf8cf4fb2f55d57e69f5 Mon Sep 17 00:00:00 2001 From: Jennifer Wilcox Date: Sun, 25 Apr 2021 12:17:05 -0500 Subject: [PATCH] Update rp2040-hal/src/gpio.rs Co-authored-by: tdittr --- rp2040-hal/src/gpio.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rp2040-hal/src/gpio.rs b/rp2040-hal/src/gpio.rs index 9a9152a..e954257 100644 --- a/rp2040-hal/src/gpio.rs +++ b/rp2040-hal/src/gpio.rs @@ -81,6 +81,7 @@ macro_rules! gpio { fn split(self, pads: pac::$PADSX, sio: pac::SIO, resets: &mut pac::RESETS) -> Parts { resets.reset.modify(|_, w| w.$gpiox().clear_bit().$padsx().clear_bit()); + // TODO: Implement Resets in the HAL while resets.reset_done.read().$gpiox().bit_is_clear() { cortex_m::asm::delay(10); }