2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

libboard/serwb: more explicit retry log message

This commit is contained in:
Sebastien Bourdeauducq 2017-12-02 10:51:13 +08:00
parent 0eb9f93611
commit 66e089b376

View File

@ -6,7 +6,7 @@ pub fn wait_init() {
csr::serwb_phy_amc::control_reset_write(1);
while csr::serwb_phy_amc::control_ready_read() == 0 {
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);
}
}