mirror of https://github.com/m-labs/artiq.git
firmware/libboard/serwb: fix init
This commit is contained in:
parent
5bd1e43ced
commit
b3e920b3c8
|
@ -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.");
|
||||
|
||||
|
|
Loading…
Reference in New Issue