From e6e5236ce224502b077606b6ff5914804776b10b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 7 Mar 2018 09:45:27 +0800 Subject: [PATCH] firmware: fix si5324 select_recovered_clock --- artiq/firmware/libboard_artiq/si5324.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/si5324.rs b/artiq/firmware/libboard_artiq/si5324.rs index 9aeeb36be..2738bec71 100644 --- a/artiq/firmware/libboard_artiq/si5324.rs +++ b/artiq/firmware/libboard_artiq/si5324.rs @@ -272,7 +272,7 @@ pub fn select_recovered_clock(rc: bool) -> Result<()> { unsafe { 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()?; Ok(()) }