forked from M-Labs/artiq
1
0
Fork 0

firmware: si5324 moved to board_artiq

This commit is contained in:
Sebastien Bourdeauducq 2017-12-28 15:45:45 +08:00
parent 3b18ece3b7
commit 4ea801b2ea
1 changed files with 3 additions and 3 deletions

View File

@ -92,8 +92,8 @@ fn startup() {
fn setup_si5324_free_running() fn setup_si5324_free_running()
{ {
// 150MHz output (hardcoded) // 150MHz output (hardcoded)
const SI5324_SETTINGS: board::si5324::FrequencySettings const SI5324_SETTINGS: board_artiq::si5324::FrequencySettings
= board::si5324::FrequencySettings { = board_artiq::si5324::FrequencySettings {
n1_hs : 9, n1_hs : 9,
nc1_ls : 4, nc1_ls : 4,
n2_hs : 10, n2_hs : 10,
@ -102,7 +102,7 @@ fn setup_si5324_free_running()
n32 : 7139, n32 : 7139,
bwsel : 3 bwsel : 3
}; };
board::si5324::setup(&SI5324_SETTINGS).expect("cannot initialize Si5324"); board_artiq::si5324::setup(&SI5324_SETTINGS).expect("cannot initialize Si5324");
} }
#[cfg(has_ethmac)] #[cfg(has_ethmac)]