forked from M-Labs/artiq
wrpll: swap helper/main si549 frequencies
This commit is contained in:
parent
150a02117c
commit
13486f3acf
|
@ -293,10 +293,10 @@ pub fn init() {
|
||||||
|
|
||||||
unsafe { csr::wrpll::helper_reset_write(1); }
|
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")]
|
#[cfg(rtio_frequency = "125.0")]
|
||||||
let (h_hsdiv, h_lsdiv, h_fbdiv) = (0x05c, 0, 0x04b5c447213);
|
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)
|
si549::program(i2c::Dcxo::Main, m_hsdiv, m_lsdiv, m_fbdiv)
|
||||||
.expect("cannot initialize main Si549");
|
.expect("cannot initialize main Si549");
|
||||||
|
|
Loading…
Reference in New Issue