forked from M-Labs/artiq
firmware: give si5324 more time to lock
This commit is contained in:
parent
935799dfb7
commit
3eef0bcc1a
|
@ -169,7 +169,7 @@ pub fn setup_hitless_clock_switching(settings: &FrequencySettings) -> Result<()>
|
||||||
|
|
||||||
let t = clock::get_ms();
|
let t = clock::get_ms();
|
||||||
while !locked()? {
|
while !locked()? {
|
||||||
if clock::get_ms() > t + 1000 {
|
if clock::get_ms() > t + 3000 {
|
||||||
return Err("Si5324 lock timeout");
|
return Err("Si5324 lock timeout");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue