forked from M-Labs/zynq-rs
1
0
Fork 0

zynq::slcr::unlocked: fix comment

This commit is contained in:
Astro 2019-11-06 22:58:50 +01:00
parent 6e50b32e80
commit eb56dda44f
1 changed files with 1 additions and 2 deletions

View File

@ -247,8 +247,7 @@ pub struct RegisterBlock {
register_at!(RegisterBlock, 0xF8000000, new); register_at!(RegisterBlock, 0xF8000000, new);
impl RegisterBlock { impl RegisterBlock {
/// Required to modify these sclr registers: scl, pss_rst_ctrl, /// Required to modify any sclr register
/// apu_ctrl, and wdt_clk_sel
pub fn unlocked<F: FnMut(&mut Self) -> R, R>(mut f: F) -> R { pub fn unlocked<F: FnMut(&mut Self) -> R, R>(mut f: F) -> R {
let mut self_ = Self::new(); let mut self_ = Self::new();
self_.slcr_unlock.unlock(); self_.slcr_unlock.unlock();