enable error LED on pll lock fail
This commit is contained in:
parent
285645759f
commit
e5158ae9c8
@ -96,6 +96,11 @@ fn init_rtio(timer: &mut GlobalTimer, _clk: RtioClock) {
|
||||
info!("RTIO PLL locked");
|
||||
} else {
|
||||
error!("RTIO PLL failed to lock");
|
||||
#[cfg(feature = "target_kasli_soc")]
|
||||
{
|
||||
pl::csr::error_led::out_write(1);
|
||||
// try "soft" panic
|
||||
}
|
||||
}
|
||||
|
||||
unsafe {
|
||||
|
Loading…
Reference in New Issue
Block a user