mirror of https://github.com/m-labs/artiq.git
firmware: remove 'chip found' messages on Sayma
This commit is contained in:
parent
d523d03f71
commit
dbcf2fe9b4
|
@ -153,8 +153,6 @@ fn dac_detect(dacno: u8) -> Result<(), &'static str> {
|
||||||
spi_setup(dacno);
|
spi_setup(dacno);
|
||||||
if (read(ad9154_reg::PRODIDH) as u16) << 8 | (read(ad9154_reg::PRODIDL) as u16) != 0x9154 {
|
if (read(ad9154_reg::PRODIDH) as u16) << 8 | (read(ad9154_reg::PRODIDL) as u16) != 0x9154 {
|
||||||
return Err("invalid AD9154 identification");
|
return Err("invalid AD9154 identification");
|
||||||
} else {
|
|
||||||
info!("AD9154-{} found", dacno);
|
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,8 +74,6 @@ mod hmc830 {
|
||||||
if id != 0xa7975 {
|
if id != 0xa7975 {
|
||||||
error!("invalid HMC830 ID: 0x{:08x}", id);
|
error!("invalid HMC830 ID: 0x{:08x}", id);
|
||||||
return Err("invalid HMC830 identification");
|
return Err("invalid HMC830 identification");
|
||||||
} else {
|
|
||||||
info!("HMC830 found");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
@ -244,8 +242,6 @@ pub mod hmc7043 {
|
||||||
if id != CHIP_ID {
|
if id != CHIP_ID {
|
||||||
error!("invalid HMC7043 ID: 0x{:08x}", id);
|
error!("invalid HMC7043 ID: 0x{:08x}", id);
|
||||||
return Err("invalid HMC7043 identification");
|
return Err("invalid HMC7043 identification");
|
||||||
} else {
|
|
||||||
info!("HMC7043 found");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue