forked from M-Labs/artiq
1
0
Fork 0

firmware: fix si5324 select_recovered_clock

This commit is contained in:
Sebastien Bourdeauducq 2018-03-07 09:45:27 +08:00
parent 7d98864b31
commit e6e5236ce2
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ pub fn select_recovered_clock(rc: bool) -> Result<()> {
unsafe { unsafe {
csr::si_phaser::switch_clocks_write(if rc { 1 } else { 0 }); csr::si_phaser::switch_clocks_write(if rc { 1 } else { 0 });
} }
write(3, (read(3)? & 0xdf) | (1 << 5))?; // DHOLD=0 write(3, (read(3)? & 0xdf) | (0 << 5))?; // DHOLD=0
monitor_lock()?; monitor_lock()?;
Ok(()) Ok(())
} }