forked from M-Labs/artiq
1
0
Fork 0

firmware: remove 'chip found' messages on Sayma

This commit is contained in:
Sebastien Bourdeauducq 2018-07-26 16:07:37 +08:00
parent d523d03f71
commit dbcf2fe9b4
2 changed files with 0 additions and 6 deletions

View File

@ -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(())
} }

View File

@ -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(())