forked from M-Labs/artiq
1
0
Fork 0

firmware/libboard/serwb: fix init

This commit is contained in:
Florent Kermarrec 2017-11-03 12:16:16 +01:00
parent 5bd1e43ced
commit b3e920b3c8
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use csr;
pub fn wait_init() {
info!("waiting for AMC/RTM serwb bridge to be ready...");
unsafe {
while csr::serwb_phy::control_ready_read() != 0 {}
while csr::serwb_phy::control_ready_read() == 0 {}
}
info!("done.");