From 111ac0c716fe736c51a788dd663eb3fec99e44e2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 30 Jul 2021 17:07:58 +0800 Subject: [PATCH] runtime: clock Si5324 from its crystal --- src/runtime/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/src/main.rs b/src/runtime/src/main.rs index 57a2503..5f4d43e 100644 --- a/src/runtime/src/main.rs +++ b/src/runtime/src/main.rs @@ -201,7 +201,7 @@ pub fn main_core0() { i2c::init(); #[cfg(feature = "target_kasli_soc")] si5324::setup(unsafe { (&mut i2c::I2C_BUS).as_mut().unwrap() }, - &SI5324_SETTINGS, si5324::Input::Ckin1).expect("cannot initialize Si5324"); + &SI5324_SETTINGS, si5324::Input::Ckin2).expect("cannot initialize Si5324"); let cfg = match Config::new() { Ok(cfg) => cfg,