forked from M-Labs/artiq
1
0
Fork 0

sayma: print DAC status on JESD not ready error

This commit is contained in:
Sebastien Bourdeauducq 2020-01-20 18:21:29 +08:00
parent 45efee724e
commit 5c299de3b4
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ pub mod jdac {
return Err("JESD core PHY not done");
}
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");
}