From eb56dda44f895c03ade05903c0409baaf970f41a Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 6 Nov 2019 22:58:50 +0100 Subject: [PATCH] zynq::slcr::unlocked: fix comment --- src/zynq/slcr.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zynq/slcr.rs b/src/zynq/slcr.rs index 154224a..9feb2ed 100644 --- a/src/zynq/slcr.rs +++ b/src/zynq/slcr.rs @@ -247,8 +247,7 @@ pub struct RegisterBlock { register_at!(RegisterBlock, 0xF8000000, new); impl RegisterBlock { - /// Required to modify these sclr registers: scl, pss_rst_ctrl, - /// apu_ctrl, and wdt_clk_sel + /// Required to modify any sclr register pub fn unlocked R, R>(mut f: F) -> R { let mut self_ = Self::new(); self_.slcr_unlock.unlock();