forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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);
}
}