AD7172: fix typo in comment [NFC]

This commit is contained in:
hartytp 2019-09-13 11:09:41 +01:00 committed by TPH
parent edb0401838
commit b118ad0cec

View File

@ -25,7 +25,7 @@ impl<SPI: Transfer<u8>, NSS: OutputPin> Adc<SPI, NSS> {
Ok(adc) Ok(adc)
} }
/// `0x00DX` for AD7271-2 /// `0x00DX` for AD7272-2
pub fn identify(&mut self) -> Result<u16, AdcError<SPI::Error>> { pub fn identify(&mut self) -> Result<u16, AdcError<SPI::Error>> {
self.read_reg(&Id) self.read_reg(&Id)
.map(|id| id.id()) .map(|id| id.id())