From 13486f3acfce35d88cf73c116c52fa2077fe0450 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 9 Dec 2019 19:49:34 +0800 Subject: [PATCH] wrpll: swap helper/main si549 frequencies --- artiq/firmware/libboard_artiq/wrpll.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/libboard_artiq/wrpll.rs b/artiq/firmware/libboard_artiq/wrpll.rs index 1f6f91775..5030b1f42 100644 --- a/artiq/firmware/libboard_artiq/wrpll.rs +++ b/artiq/firmware/libboard_artiq/wrpll.rs @@ -293,10 +293,10 @@ pub fn init() { unsafe { csr::wrpll::helper_reset_write(1); } - #[cfg(rtio_frequency = "125.0")] - let (m_hsdiv, m_lsdiv, m_fbdiv) = (0x05c, 0, 0x04b5badb98a); #[cfg(rtio_frequency = "125.0")] let (h_hsdiv, h_lsdiv, h_fbdiv) = (0x05c, 0, 0x04b5c447213); + #[cfg(rtio_frequency = "125.0")] + let (m_hsdiv, m_lsdiv, m_fbdiv) = (0x05c, 0, 0x04b5badb98a); si549::program(i2c::Dcxo::Main, m_hsdiv, m_lsdiv, m_fbdiv) .expect("cannot initialize main Si549");