From 095fe8ea6926b08051480924c4440e9f043e372d Mon Sep 17 00:00:00 2001 From: linuswck Date: Wed, 24 Jan 2024 11:36:36 +0800 Subject: [PATCH] AD7172: Rm deprecated warning for Rev0_2 hw bug --- src/thermostat/ad7172/adc.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/thermostat/ad7172/adc.rs b/src/thermostat/ad7172/adc.rs index 47415a8..e3c9faf 100644 --- a/src/thermostat/ad7172/adc.rs +++ b/src/thermostat/ad7172/adc.rs @@ -34,11 +34,6 @@ type AdcNss = PA15>; pub type AdcPhy = Adc; impl, NSS: OutputPin, E: fmt::Debug> Adc { - #[deprecated(note= - "To be removed when rev0_3 has arrived. - Rev0_2 has wrong SPI hardware connection bug. - AD7172-2 is not accessible. - ")] pub fn new(spi: SPI, mut nss: NSS) -> Result { let _ = nss.set_high(); let mut adc = Adc {