pounder/ad9959: clippy lints

master
Robert Jördens 2021-08-03 09:40:31 +00:00
parent 8802b60fcf
commit a05fb6b536
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ impl<I: Interface> Ad9959<I> {
.write(Register::CSR as u8, &[csr])
.map_err(|_| Error::Interface)?;
self.write(register, &data)?;
self.write(register, data)?;
Ok(())
}

View File

@ -233,7 +233,7 @@ impl ad9959::Interface for QspiInterface {
};
self.qspi
.write(encoded_address.into(), &encoded_payload)
.write(encoded_address.into(), encoded_payload)
.map_err(|_| Error::Qspi)
}
ad9959::Mode::FourBitSerial => {