forked from M-Labs/artiq
1
0
Fork 0

runtime: fix metlino si5324 init

This commit is contained in:
Sebastien Bourdeauducq 2020-10-14 12:57:25 +08:00
parent 35c61ce24d
commit ac35548d0f
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ fn setup_si5324_as_synthesizer() {
let si5324_ref_input = si5324::Input::Ckin1;
#[cfg(all(soc_platform = "kasli", not(hw_rev = "v2.0")))]
let si5324_ref_input = si5324::Input::Ckin2;
#[cfg(soc_platform = "metlino")]
let si5324_ref_input = si5324::Input::Ckin2;
si5324::setup(&SI5324_SETTINGS, si5324_ref_input).expect("cannot initialize Si5324");
}