From dbcf2fe9b40777661e4fa2d30eb28a2ecfc20b82 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 26 Jul 2018 16:07:37 +0800 Subject: [PATCH] firmware: remove 'chip found' messages on Sayma --- artiq/firmware/libboard_artiq/ad9154.rs | 2 -- artiq/firmware/libboard_artiq/hmc830_7043.rs | 4 ---- 2 files changed, 6 deletions(-) diff --git a/artiq/firmware/libboard_artiq/ad9154.rs b/artiq/firmware/libboard_artiq/ad9154.rs index 68ee06efa..2c3bb9339 100644 --- a/artiq/firmware/libboard_artiq/ad9154.rs +++ b/artiq/firmware/libboard_artiq/ad9154.rs @@ -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(()) } diff --git a/artiq/firmware/libboard_artiq/hmc830_7043.rs b/artiq/firmware/libboard_artiq/hmc830_7043.rs index 142ae11ea..f15102902 100644 --- a/artiq/firmware/libboard_artiq/hmc830_7043.rs +++ b/artiq/firmware/libboard_artiq/hmc830_7043.rs @@ -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(())