mirror of https://github.com/m-labs/artiq.git
libboard/serwb: more explicit retry log message
This commit is contained in:
parent
0eb9f93611
commit
66e089b376
|
@ -6,7 +6,7 @@ pub fn wait_init() {
|
||||||
csr::serwb_phy_amc::control_reset_write(1);
|
csr::serwb_phy_amc::control_reset_write(1);
|
||||||
while csr::serwb_phy_amc::control_ready_read() == 0 {
|
while csr::serwb_phy_amc::control_ready_read() == 0 {
|
||||||
if csr::serwb_phy_amc::control_error_read() == 1 {
|
if csr::serwb_phy_amc::control_error_read() == 1 {
|
||||||
info!("retry serwb initialization...");
|
warn!("AMC/RTM serwb bridge initialization failed, retrying.");
|
||||||
csr::serwb_phy_amc::control_reset_write(1);
|
csr::serwb_phy_amc::control_reset_write(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue