mirror of https://github.com/m-labs/artiq.git
firmware: fix si5324 select_recovered_clock
This commit is contained in:
parent
7d98864b31
commit
e6e5236ce2
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue