forked from M-Labs/artiq-zynq
cxp fw: reading the correct host connection id
This commit is contained in:
parent
b23c8f64cc
commit
4140468af3
@ -186,7 +186,7 @@ fn negotiate_active_channels(timer: &mut GlobalTimer) -> Result<u8, Error> {
|
||||
fn set_host_connection_id() -> Result<(), Error> {
|
||||
// TODO: not mandatory??
|
||||
write_u32(MASTER_CHANNEL, MASTER_HOST_CONNECTION_ID, HOST_CONNECTION_ID, false)?;
|
||||
let reg = read_u32(MASTER_CHANNEL, CONNECTION_CFG, false)?;
|
||||
let reg = read_u32(MASTER_CHANNEL, MASTER_HOST_CONNECTION_ID, false)?;
|
||||
info!("host connection id set as = {}", reg);
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user