forked from M-Labs/artiq
sayma: print DAC status on JESD not ready error
This commit is contained in:
parent
45efee724e
commit
5c299de3b4
|
@ -95,7 +95,8 @@ pub mod jdac {
|
||||||
return Err("JESD core PHY not done");
|
return Err("JESD core PHY not done");
|
||||||
}
|
}
|
||||||
if !jesd::ready(dacno) {
|
if !jesd::ready(dacno) {
|
||||||
error!("JESD core reported not ready");
|
error!("JESD core reported not ready, sending status print request");
|
||||||
|
basic_request(dacno, jdac_requests::PRINT_STATUS, 0)?;
|
||||||
return Err("JESD core reported not ready");
|
return Err("JESD core reported not ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue