firmware: remove 'chip found' messages on Sayma

pull/1122/head
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);
if (read(ad9154_reg::PRODIDH) as u16) << 8 | (read(ad9154_reg::PRODIDL) as u16) != 0x9154 {
return Err("invalid AD9154 identification");
} else {
info!("AD9154-{} found", dacno);
}
Ok(())
}

View File

@ -74,8 +74,6 @@ mod hmc830 {
if id != 0xa7975 {
error!("invalid HMC830 ID: 0x{:08x}", id);
return Err("invalid HMC830 identification");
} else {
info!("HMC830 found");
}
Ok(())
@ -244,8 +242,6 @@ pub mod hmc7043 {
if id != CHIP_ID {
error!("invalid HMC7043 ID: 0x{:08x}", id);
return Err("invalid HMC7043 identification");
} else {
info!("HMC7043 found");
}
Ok(())